Support » Plugin: WP Private Content Plus » PHP error on plugins page

  • WP 5.2 (was also happening in 5.1.1)
    WPEngine
    PHP 7.2
    Plugin version 1.31

    An error of type E_ERROR was caused in line 347 of the file /nas/content/live/web2/wp-content/plugins/wp-private-content-plus/classes/class-wppcp-admin-stats.php. Error message: Uncaught Error: Cannot use object of type stdClass as array in /nas/content/live/web2/wp-content/plugins/wp-private-content-plus/classes/class-wppcp-admin-stats.php:347
    Stack trace:
    #0 /nas/content/live/web2/wp-content/plugins/wp-private-content-plus/classes/class-wppcp-admin-stats.php(49): WPPCP_Admin_Stats->get_widget_stats()
    #1 /nas/content/live/web2/wp-content/plugins/wp-private-content-plus/classes/class-wppcp-settings.php(1122): WPPCP_Admin_Stats->generate_stats()
    #2 [internal function]: WPPCP_Settings->wppcp_deactivate_popup(”)
    #3 /nas/content/live/web2/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)
    #4 /nas/content/live/web2/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /nas/content/live/web2/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #6 /nas/content/live/web2/wp-admin/admin-footer.php(73): do_action(‘admin_footer’, ”)
    #7 /nas/content/live/web2/wp-admin/plugins.php(630): include(‘/nas/content/li…’)
    #8 {

  • The topic ‘PHP error on plugins page’ is closed to new replies.