Support » Plugin: Ultimate Endpoints With Rest Api » E_ERROR Cannot use object of type WP_Error as array

  • Resolved tpynak

    (@tpynak)


    Hi!
    Thanks for great plugin.
    I am using it for a few months, but recently my wp dashboard started to be very very slow. I was investigating an issue, and come up with some problem in admin-ajax.php. By the way, went to sleep, and at the morning found a message from my WordPress installation that there are some problem with page /wp-admin/admin-ajax.php?_fs_blog_admin=true, that is caused by your plugin. So I made 2+2, disabled your plugin and dashboard and rest parts of site started to work as expected.

    So here is problem (sorry it is in Russian, but main part is an error, which is in English):

    Подробности ошибки
    ===================================
    Ошибка с типом E_ERROR возникла на строке 14 файла /…MY_PATH_TO_FILES…/public_html/wp-content/plugins/custom-wp-rest-api/admin/class-update.php. Сообщение об ошибке: Uncaught Error: Cannot use object of type WP_Error as array in /…MY_PATH_TO_FILES…/public_html/wp-content/plugins/custom-wp-rest-api/admin/class-update.php:14
    Stack trace:
    #0 /…MY_PATH_TO_FILES…/public_html/wp-content/plugins/custom-wp-rest-api/admin/class-update.php(34): WCRA_Update->WCRA_getPluginVersionFromRepository(‘mailchimp-top-b…’)
    #1 /…MY_PATH_TO_FILES…/public_html/wp-content/plugins/custom-wp-rest-api/admin/class-update.php(45): WCRA_Update->WCRA_activePluginsVersions()
    #2 /…MY_PATH_TO_FILES…/public_html/wp-content/plugins/custom-wp-rest-api/admin/custom-functions.php(72): WCRA_Update->wcra_compare_version()
    #3 /…MY_PATH_TO_FILES…/public_html/wp-includes/class-wp-hook.php(286): sfdfsdefedfedwsfewsf(”)
    #4 /…MY_PATH_TO_FILES…/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /…MY_PATH_TO_FILES…/public_html/wp-includes/plugin.php(46

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘E_ERROR Cannot use object of type WP_Error as array’ is closed to new replies.