• Hi,

    An error is spamming my error_log file with over 2GB in side! Might be worth taking a look?

    [14-Nov-2021 04:07:48 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /public_html/wp-content/plugins/administrator-access-to-pmpro-protected-content/class-adminOverride.php on line 143

    Cheers

Viewing 1 replies (of 1 total)
  • Thread Starter davidblood

    (@davidblood)

    More…

    [26-Mar-2022 14:17:11 UTC] PHP Warning:  Attempt to read property "roles" on string in /wp-content/plugins/administrator-access-to-pmpro-protected-content/class-adminOverride.php on line 143
    [26-Mar-2022 14:17:11 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /wp-content/plugins/administrator-access-to-pmpro-protected-content/class-adminOverride.php:143
    Stack trace:
    #0 /wp-content/plugins/administrator-access-to-pmpro-protected-content/class-adminOverride.php(143): in_array()
    #1 /wp-content/plugins/administrator-access-to-pmpro-protected-content/class-adminOverride.php(112): E20R\PMPro\Access_Rights\adminOverride->adminAccessPermitted()
    #2 /wp-includes/class-wp-hook.php(307): E20R\PMPro\Access_Rights\adminOverride->shortcodeAccessPermitted()
    #3 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #4 /wp-content/plugins/paid-memberships-pro/shortcodes/membership.php(84): apply_filters()
    #5 /wp-includes/shortcodes.php(356): pmpro_shortcode_membership()
    #6 [internal function]: do_shortcode_tag()
    #7 /wp-includes/shortcodes.php(228): preg_replace_callback()
    #8 /wp-includes/class-wp-hook.php(307): do_shortcode()
    #9 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #10 /wp-includes/post-template.php(253): apply_filters()
    #11 /wp-content/themes/oceanwp/partials/page/article.php(20): the_content()
    #12 /wp-includes/template.php(772): require('/home/tlguzfgc/...')
    #13 /wp-includes/template.php(716): load_template()
    #14 /wp-includes/general-template.php(204): locate_template()
    #15 /wp-content/themes/oceanwp/partials/page/layout.php(20): get_template_part()
    #16 /wp-includes/template.php(772): require('/home/tlguzfgc/...')
    #17 /wp-includes/template.php(716): load_template()
    #18 /wp-includes/general-template.php(204): locate_template()
    #19 /wp-content/themes/oceanwp/page.php(36): get_template_part()
    #20 /wp-includes/template-loader.php(106): include('/home/tlguzfgc/...')
    #21 /wp-blog-header.php(19): require_once('/home/tlguzfgc/...')
    #22 /index.php(17): require('/home/tlguzfgc/...')
    #23 {main}
      thrown in /wp-content/plugins/administrator-access-to-pmpro-protected-content/class-adminOverride.php on line 143
Viewing 1 replies (of 1 total)
  • The topic ‘Error logs’ is closed to new replies.