WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Access Manager
[resolved] Blank Screen after v1.6 (36 posts)

  1. mystifier
    Member
    Posted 2 years ago #

    I am always nervous about updating this otherwise great plug-in!

    After v1.6, the admin page is completely blank.

    http://wordpress.org/extend/plugins/advanced-access-manager/

  2. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    Hi mystifier,
    Can you please Check error log.

    Regards,
    Vasyl

  3. mystifier
    Member
    Posted 2 years ago #

    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.

  4. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    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

  5. mystifier
    Member
    Posted 2 years ago #

    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

  6. Vakantie Ameland
    Member
    Posted 2 years ago #

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

  7. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    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

  8. Vakantie Ameland
    Member
    Posted 2 years ago #

    No errors to find in the error log!!

  9. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    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

  10. Vakantie Ameland
    Member
    Posted 2 years ago #

    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

  11. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    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

  12. Vakantie Ameland
    Member
    Posted 2 years ago #

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

  13. Vakantie Ameland
    Member
    Posted 2 years ago #

    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

  14. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    :) That is funny. Thanks I'll fix it today and will post the update.

    Regards,
    Vasyl

  15. Vakantie Ameland
    Member
    Posted 2 years ago #

    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

  16. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    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

  17. Vakantie Ameland
    Member
    Posted 2 years ago #

    Tried to save some changes in the access manager front and this happens in the logs:

    1: Call to undefined function chmode() in .. /plugins/advanced-access-manager/model/configpress.php (50)

  18. Vakantie Ameland
    Member
    Posted 2 years ago #

    e "typo" ;-)

  19. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    This is the same issue. But now it tries to save ConfigPress. Just change the chmode to chmod.

    Regards,
    Vasyl

  20. Vakantie Ameland
    Member
    Posted 2 years ago #

    I know, I did... tnx

  21. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    This fix will be included in release 1.6.2 in the end of the week.

  22. Vakantie Ameland
    Member
    Posted 2 years ago #

    Cool, tnx!

  23. Vakantie Ameland
    Member
    Posted 2 years ago #

    Vasyl,

    Some other issue here. When I try to save changes in the front end for lets say user role contributor in section - main menu - tools and only allow available tools (this one is unchecked), the rest is checked and then save, the selections do not get saved. Even after clearing cache. the whole branch is checked instead.... same happens e.g on - main menu - dashboard... maybe elsewhere too, haven't tried it

    Marcel

  24. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry Marcel,
    But I can't get you. What does it mean for u "save changes in the front end".
    Can u please send me the screenshots with explanation at email whimba (at) gmail.com. If it's hard :)

    Thanks,
    Regards,

  25. Fionavar
    Member
    Posted 2 years ago #

    Okay 1.6.1.1 completely knackers my site. I was using 1.6 w/o problem. There is nothing in the error log. When I log out my site is completely inaccessible and when I rename the main plug-in directory site is fine. Error I get form Chrome is a HTTP 500 Error. Please advise - should I roll back to 1.6? I have deactivated the plugin for the time being.

    Note: everything is similar to the error when it occurred previously: http://wordpress.org/support/topic/plugin-advanced-access-manager-host-500-error?replies=27

  26. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Fiona,
    Just delete the AAM and install it again. It should be ok.

    Regards,
    Vasyl

  27. Fionavar
    Member
    Posted 2 years ago #

    I did that and the error still happens.

  28. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    OK. Then revert back to 1.6. Next release will have some fixes. Hope this will help u.

    Regards,
    Vasyl

  29. Fionavar
    Member
    Posted 2 years ago #

    I have done so and all is well again.

  30. Fionavar
    Member
    Posted 2 years ago #

    Should I try the 1.6.1.2 then?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic