Moderator
James Huff
(@macmanx)
Volunteer Moderator
Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the Twenty Fourteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).
Hi James, thank for your answer.
I tried with all plugins deactivated and Twenty Forteen theme, but it works the same. I noticed this is not only when I program a post, it works wrong when I save a php from theme editor π
Do you think I could go back to 4.0.0 and wait to 4.0.2?
Moderator
James Huff
(@macmanx)
Volunteer Moderator
No, don’t go back to 4.0. 4.0.1 has critical security fixes.
Are you also trying to save PHP in the post or page, or is that just when editing a theme file?
And, just to clarify, you experience the same problem with absolutely no plugins active while using the Twenty Fourteen theme?
Yes, I deactivated all plugins and tried with Fourteen theme (both at the same time), and the problem continues.
About theme editor, it happened when I tried to edit a php file, but I tried again and worked ok. It seems the only problem is when I program a post, not if a publish or update an entry.
I must say the entry ends programmed right, but after I program it, it goes to a blank page.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Hm, that is odd. Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php
file and the /wp-content/
directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.
I did it, but the problem is not solved.
I could add that before the first installation I had a problem with two plugins I couldn deactivate: “WP Missed Schedule” and “Easy Social Share Buttons for WordPress”. I deleted “Easy Social…” from plugins folder and I deleted a reg from wp_options where option_name = “wp_missed_schedule”. Now I can deactivate and activate “WP Missed Schedule” with no problems.
I tried to install again “Easy Social…” but I can’t activate it because I get a “Fatal Error”. If I check wp_options there are two regs with “easy-social-share-buttons” in spite of being deactivated. I wonder if those two regs could be the problem :/
Moderator
James Huff
(@macmanx)
Volunteer Moderator
It’s possible they’re related. Would you please quote the fatal error you receive when attempting to activate the plugin?
I tried to activate “Easy Social Share Buttons for WordPress” and this time it activated, but when I wanted to deactivate it, goes blank page and didn’t deactivate. So, I deleted the plugin folder.
I tried to activate WP_Polls and I got the “fatal error”. Even if it’s not activate, there is a lot of regs from that plugin in my wp_options table.
Is there any wp_options checker/clener?
Here is the image.
The error says: “Plugin could not be activated because a fatal error”.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Ok, first of all stop messing around in the database. We should be able to solve this without that, so let’s not complicate things. π
That error should be described in more detail in your server error log.
Do you have access to your server error log? If you do, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you donβt have access to your server error log, ask your hosting provider to look for you.
I’m waiting for the server admin to send me the error log. Thank you.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
You’re welcome, please let us know how it goes!
Well, my server admin says there is not error in the error log π
Could it all be a server error?
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Who is your hosting provider? It doesn’t seem possible that a fatal error would not result in a log entry. It sounds like, at the very least, logging is misconfigured on your server.
The provider is Serverloft, but it’s not managed by me :/
I will ask again. Thank you.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Thanks, please,let us know if they find anything, and make sure that you generate the error again, so there’s something fresh in the logs.