Support » Plugin: Advanced Access Manager » [Plugin: Advanced Access Manager] Blank Screen after v1.6

Viewing 15 replies - 1 through 15 (of 35 total)
  • Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi mystifier,
    Can you please Check error log.

    Regards,
    Vasyl

    Hi Vasyl,

    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.

    Mystifier.

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    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:
    //ini_set(‘display_errors’, FALSE);

    I had to more emails with the same notices in error.log and both of them where caused by third plugins.

    Regards,
    Vasyl

    Hi Vasyl,

    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.

    Mystifier

    I had the same (white screen for not logged in users). This happens on two different wordpress installations with version 1.6.1 and 1.6.1.1 of advanced access manager. When I return to version 1.6 everything is fine!!

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi christianebuddy,
    I believe you didn’t check error log. If there is any possibility to do that, I’ll appreciate a much.

    Regards,
    Vasyl

    No errors to find in the error log!!

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    hm.
    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.

    Regards,
    Vasyl

    Hi Vasyl,

    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 1.6.1.1 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

    Marcel

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hm,
    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.

    Regards,
    Vasyl

    Fatal error: Call to undefined function chmode() in /wp-content/plugins/advanced-access-manager/model/errorhandler.php on line 60

    I actually changed
    ini_set('display_errors', FALSE);
    to
    ini_set('display_errors', TRUE);

    But when the line is commented out just a white screen appears, no errors visible or in the logs

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    🙂 That is funny. Thanks I’ll fix it today and will post the update.

    Regards,
    Vasyl

    Vasyl,

    The plugin actually has separate log directory advanced-access-manager/logs and logfile 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….

    Marcel

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    christianebuddy,
    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.
    Regards,
    Vasyl

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘[Plugin: Advanced Access Manager] Blank Screen after v1.6’ is closed to new replies.