[Resolved] [Plugin: Advanced Access Manager] Blank Screen after v1.6
I am always nervous about updating this otherwise great plug-in!
After v1.6, the admin page is completely blank.
Can you please Check error log.
It is full of:
8: Trying to get property of non-object in ~advanced-access-manager\models\mvb_model_accesscontrol.php
The Admin menu simply produces a blank page.
This is E_NOTICE which can’t cause a fatal error. Looks like this is a conflict with other plugin.
If you want to see an error, then go to mvb_config.php and comment next line:
I had to more emails with the same notices in error.log and both of them where caused by third plugins.
Allowing errors did not produce anything different.
I am not saying that it can’t be a conflict but I could see the admin page, upgraded to v1.6 and the admin page was blank with no other plug-in changes.
I will revert if necessary.
I had the same (white screen for not logged in users). This happens on two different wordpress installations with version 1.6.1 and 126.96.36.199 of advanced access manager. When I return to version 1.6 everything is fine!!
I believe you didn’t check error log. If there is any possibility to do that, I’ll appreciate a much.
I such way you have to try restore default settings.
There are two possible ways:
– click the restore button (orange arrow)
– Uninstall and Delete the plugin (through Plugin Manager) and install it again.
Tnx for your help. I have to delete the database files manually as I do not allow FTP contact to the server. But I prefer not to actually, as all the settings are gone then.
When I deactivate and remove the old plugin, unzip the 188.8.131.52 version and then activate, the white screen appears.
So there must be something not quite right there in the plugin files and or database records? Any idea to solve this issue
Blank page means that u have an error.
U can check error log, provided by your hosting company, or u can try to comment line 113 in mvb_function.php:
// ini_set(‘display_errors’, FALSE);
Probably this will show u the error.
Fatal error: Call to undefined function chmode() in /wp-content/plugins/advanced-access-manager/model/errorhandler.php on line 60
I actually changed
But when the line is commented out just a white screen appears, no errors visible or in the logs
🙂 That is funny. Thanks I’ll fix it today and will post the update.
The plugin actually has separate log directory
advanced-access-manager/logs/error.log. Changed the permissions so the log can be written to and now this appears:
2: get_class() expects parameter 1 to be object, string given in ... /plugins/advanced-access-manager/model/filtermetabox.php (48)
And now the white screen is gone. So the problem is that the plugin uses separate logging dir and file which normally is not writable by the webuser. Maybe it is better to let the error logging go the the system logging or weblogging instead….
I got a lot of email from people who had no clue what is error log and where to find it. That is why I had to implement custom error handler function.
Actually it works pretty well, just one “e” letter in chmode messed up everything.
Appreciate your help and feedback.
- The topic ‘[Resolved] [Plugin: Advanced Access Manager] Blank Screen after v1.6’ is closed to new replies.