• norbou

    (@norbou)


    I have the same problem like was mentioned once here. The thread was closed without any reply.

    I have new installation of WP 5.5.1 and PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array happens when I have visited wp-admin/admin.php?page=slimaddons first time only.

    Now the page is working well.

    WordPress verze 5.5.1
    Template: Twenty Twenty (verze 1.5) Plugin: Slimstat Analytics (verze 4.8.8.1) Verze PHP 7.3.9

    Details
    =================
    On row 31 in file wp-content/plugins/wp-slimstat/admin/view/addons.php do?lo k chybě typu E_ERROR. Chybová zpráva: Uncaught Error: Cannot use object of type WP_Error as array in wp-content/plugins/wp-slimstat/admin/view/addons.php:31

    $list_addons = @unserialize( $response[ ‘body’ ] );

    Stack trace:
    #0 wp-content/plugins/wp-slimstat/admin/index.php(711): include()
    #1 wp-includes/class-wp-hook.php(287): wp_slimstat_admin::wp_slimstat_include_addons(”)
    #2 wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #3 wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 wp-admin/admin.php(259): do_action(‘slimstat_page_s…’)
    #5 {main}
    thrown

  • The topic ‘PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array’ is closed to new replies.