Fault With Capabilities To Access Admin

Hi

Ok I use User Role Editor Pro to control access to the admin area and all the capabilities site wide. I use membership to control access to page content, pages, posts and front end menu items.

One role I have 'volunteercoordinator' has access to the wp-admin to list_users and edit_users

If I try to view these I get an error message saying

'You do not have sufficient permissions to access this page.'

If I disable Membership2 and refresh the page /wp-admin/users.php the permissions of list_users and edit_users work correctly.

Why is Membership2 impacting on the capabilities when the capabilities add-on is disabled within Membership2?

Support access is granted. I would appreciate a swift resolution please.

Thanks

Wayne

  • Kasia Swiderska

    Hello Wayne,

    I can confirm that this is happaning on your site, but I wasn't able to replicate this issue on two my other sites - I gave those capabilities to user with subscriber role and to user with different non-standard role. In both cases users were able to access users list without problem, despite that the Membership was enabled (even with user Capabilities enabled).
    However because I don't have access to User Editor Pro - I did test on free version. Can you confirm this is also happening on your site with free version of the User Editor plugin?

    kind regards,
    Kasia

  • Wayne

    @Kasia Swiderska @Predrag Dubajic

    Doing some more testing on this is effectively resulting in the following, if I add manage_options or delete_users to the roles in User Role Editor Pro then it seems that it will allow access, primarily because those options seem to tell Membership2 that the account is an admin account. I don't actually want it to be an admin account hence the limited capabilities given to that role.

    If Membership2 does not see it as an admin account it refuses entry to the admin seems to be the issue. This should not be the case, it should allow access to the admin when capabilities dictate.

    It also makes no difference if I completely remove the membership subscription from the account so that it is using wordpress default logic. The same issue is present.

    Deactivate Membership2 plugin and it starts to listen to the capabilities that roles are assigned and behaves correctly.

  • Kasia Swiderska

    Hello Wayne,

    Is there a possibility you could disable all the other plugins except Membership and User Role editor?
    I've check issue from second thread and I'm not able to replicate it - creating custom capability and setting it in the define and giving it to subscriber role works.
    And I can't trigger error when accessing users list - it always shows for my test users. So I suspect there is one more factor that could mess thing up on your site.

    kind regards,
    Kasia

  • Wayne

    Hey @Jude and @Kasia Swiderska

    Appreciate you have both been digging into this for me and really appreciate the support.

    Just done a full conflict test and the conflict is between Membership 2 Pro and User Role Editor Pro

    I then disabled User Role Editor Pro and enabled the free version but the conflict remained.

    None of the other plugins are causing any different behaviour os it appears to be a compatibility issue between these two.

    Regards

    Wayne

  • Kasia Swiderska

    Hello Wayne,

    I have problem to connect to your FTP with credentials you send Taylor, so could you enable debug mode in WordPress, maybe this will show where lays problem. To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

    define('WP_DEBUG', true);

    In order to enable the error logging to a file on the server you need to add yet one more similar line:

    define( 'WP_DEBUG_LOG', true );

    In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.

    Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:

    define( 'WP_DEBUG_DISPLAY', false );

    The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it. I would need then to see contents of the debug.log file - if it's short you can past it here, but when is large file please paste it to the text file and attach to post.

    kind regards,
    Kasia

  • Wayne

    Debug log deleted and then tried just to access that page where I get the permission denied error and this was the new debug file that was created form one attempt to access the page.

    [11-Jan-2016 18:51:43 UTC] PHP Notice:  translate_plugin was called <strong>incorrectly</strong>. This function must be called before/inside the hook "plugins_loaded". Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.0.3.) in /home/wyppolice/public_html/wp-includes/functions.php on line 3792
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 38
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 39
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 40
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 41
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 42
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 43
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 44
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 45
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 38
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 39
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 40
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 41
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 42
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 43
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 44
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 45
    [11-Jan-2016 18:51:45 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:51:45 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:51:45 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: user_id in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 2
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: tablepress in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: tablepress in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=profile_tabs in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=profile_tabs in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_register_forms in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_register_forms in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_profile in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_profile in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_listing in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_listing in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_profile_badge in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_profile_badge in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=inc_popup in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=inc_popup in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: upme-all-in-one in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: upme-all-in-one in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: aft_snippets/index in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: aft_snippets/index in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: Acurax-Coming-Soon-Maintenance-Mode-Settings in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: Acurax-Coming-Soon-Maintenance-Mode-Settings in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 2 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1315
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 2 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1316
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 3 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1315
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 3 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1316
    [11-Jan-2016 18:51:47 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:51:47 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:51:47 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:51:48 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:51:53 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:51:53 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624

    @Kasia Swiderska

  • Wayne

    @Kasia Swiderska

    If I make them a Membership admin by granting their role 'membershipadmin' capability and clear the debug log then revisit that same page, this time the content loads and the content of the debug file is as follows;

    [11-Jan-2016 18:55:19 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:55:19 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:55:19 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:55:19 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined variable: temp in /home/wyppolice/public_html/wp-content/plugins/amr-users/includes/ameta-building.php on line 267
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: user_id in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 2
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=profile_tabs in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=profile_tabs in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_register_forms in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_register_forms in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_profile in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_profile in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_listing in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_user_listing in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_profile_badge in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:55:20 UTC] PHP Notice:  Undefined index: edit.php?post_type=uaio_profile_badge in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:55:22 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:55:22 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:55:22 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:55:22 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:55:24 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:55:24 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:55:25 UTC] PHP Notice:  Undefined index: user_id in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 2
    [11-Jan-2016 18:55:25 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:55:25 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:55:25 UTC] PHP Parse error:  syntax error, unexpected end of file in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 37
    [11-Jan-2016 18:55:26 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/wyppolice/public_html/wp-includes/functions.php on line 3624
    [11-Jan-2016 18:55:26 UTC] PHP Notice:  Undefined index: user_id in /home/wyppolice/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(383) : eval()'d code on line 2
  • Wayne

    Hi @Kasia Swiderska

    If I remove all entries from the first log where the error was present with those entries that appear in the second log when the page loaded fine the first log is left with just the following;

    [11-Jan-2016 18:51:43 UTC] PHP Notice:  translate_plugin was called <strong>incorrectly</strong>. This function must be called before/inside the hook "plugins_loaded". Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.0.3.) in /home/wyppolice/public_html/wp-includes/functions.php on line 3792
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 38
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 39
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 40
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 41
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 42
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 43
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 44
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 45
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 38
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 39
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 40
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 41
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 42
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 43
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 44
    [11-Jan-2016 18:51:43 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/wyppolice/public_html/wp-content/plugins/upme-all-in-one/classes/class-uaio-file-manager.php on line 45
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: tablepress in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: tablepress in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=inc_popup in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: edit.php?post_type=inc_popup in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: upme-all-in-one in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: upme-all-in-one in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: aft_snippets/index in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: aft_snippets/index in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: Acurax-Coming-Soon-Maintenance-Mode-Settings in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1295
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined index: Acurax-Coming-Soon-Maintenance-Mode-Settings in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1339
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 2 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1315
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 2 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1316
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 3 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1315
    [11-Jan-2016 18:51:46 UTC] PHP Notice:  Undefined offset: 3 in /home/wyppolice/public_html/wp-content/plugins/ag-custom-admin/plugin.php on line 1316
  • Kasia Swiderska

    Hello Wayne,

    I'm sorry this is taking so long, but I hit wall with your site - I duplicated your site to my local host, so I would not do test on live site and I tried multiple combinations to get this work, or even replicate this issue on other copy. Debugging doesn't show errors on local copy. I thought this has something to do with fact that there is no more default roles on your site except administrator. It was also dead end.

    I noticed that you had corresponding Membership for that user role - if you plan that users with that role will have this membership then I think I have working workaround for you. There is add-on in Membership "Admin Side Protection" that allows you to protect admin pages.
    I've tested this - and user that has custom role and corresponding membership (and in Admin "Users" page is protected with that membership) gets access to this page.
    I wanted to check this now on your live site, but access expired.
    Could you test if this workaround will work for you?

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.