They are warnings and they are all to do with the maintenance mode plugin.
The first step would be to disable debug mode ( define( ‘WP_DEBUG’, true ) in wp-config.php change to false )
If that doesn’t work, then deactivate, rename or delete the maintenance mode plugin to remove the errors.
Im going to check what exactly is in line 511 of the specified file and get back to you on that.
Cheers
Ben
line 511 in mmode.php in the latest version is the middle of an options array, either the copy you are using is corrupted, modified or not the latest version.
Try copying the contents of the file into http://pastebin.com/ if you need it debugged.
Cheers
Ben
Hi again!
Now the line is number 1021 in the mmode.php
I don’t understand anything!!!
If this is corrupt… what can I do?
Shall I replace it?
In that case with what?
Miguel
Hi Miguel,
Can you try this:
download the plugin, unzip and FTP the entire directory up to the wp-content/plugins directory.
Also, have a look in wp-config.php at disabling WP_DEBUG, if it is true, make it false.
Let me know how you go.
Cheers
Ben
Hi Ben!
I’m sorry but you have to be more specific in my case. Just think of me like an idiot that can’t anything about this… OK?
Wich plugin do you mean I have to download? What’s the name of it?
Then when I look at the WP-contents/plugins I find just the askimet-map and hellow.php plus index.php.
How do I do really?
Miguel
Hi again Ben!
Now the problem is even wors! I cannot open the blog!
This message is comming up…
Warning: require(/customers/8/a/0/gabard.se/httpd.www/wp-includes/rewrite.php): failed to open stream: No such file or directory in /customers/8/a/0/gabard.se/httpd.www/wp-settings.php on line 129 Fatal error: require(): Failed opening required ‘/customers/8/a/0/gabard.se/httpd.www/wp-includes/rewrite.php’ (include_path=’.:/usr/share/php’) in /customers/8/a/0/gabard.se/httpd.www/wp-settings.php on line 129
What do you think?
Maybe I have to reinstall the whole thing?
Miguel
Hi again!
Sorry! I repared the last problem. I just needed a rewrite.php in wp-includes. Now we are back on the stupid question thing!
It seems to be easyer to understand that I think!
At least I hope so. I hope allso you have the time for me.
I wait for your answer.
Thanks!
Miguel
Hi again!
I’m trying to work on it. I have one more question. What do tou do with the lines that are marked in the error text at the beginning when I try to login? Do I have to errase them?
Miguel
Hi Miguel,
Can you please let me know what is in your wp-config.php file the line about define( ‘WP_DEBUG’, ‘???’ );
DO NOT POST THE ENTIRE CONTENTS AS IT CONTAINS SENSITIVE INFORMATION
Hi Ben!
Ok! I’m at work just now. I’m going to look at it as soon as I’m home again and send it to you.
Yhank you!
Miguel
Hi Ben ! Ok! Now I’m home.
Here is what is in thet line…
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define(‘WP_DEBUG’, false);
I was always like that. I did not change anything there!
Miguel
Ok,
That should not be displaying the warnings
when I visit http://gabard.se/ I get an error about line wp-content/plugins/maintenance-mode-z/mmode.php:1021
Line 1021 in mmode.php
I downloaded that plugin to check and the file is not that long. line 1021 should not exist.
can you please list all plugins and consider deactivating them.
Let me know.
Cheers
Ben
Ok! How do I do that is the big question?
I’m in the FTP and open the plugins and …
then what?
can you list the plugins there?
To deactivate via FTP, simply rename the plugins directory ( plugins.hold ), this deliberately confuses WP and it deactivates the plugins.
Because I cannot acces my admin in WP.