Fatal error: Uncaught Error: Cannot use object of type WP_Error as array
in /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-content/plugins/cresta-social-share-counter/class/cresta-share-gp.php on line 42

Call stack:

  1. crestaShareSocialCount::get_facebook()
    wp-content/plugins/cresta-social-share-counter/cresta-social-share-counter.php:104
  2. cresta_social_share_wp_enqueue_scripts()
    wp-includes/class-wp-hook.php:287
  3. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
  4. WP_Hook::do_action()
    wp-includes/plugin.php:478
  5. do_action()
    wp-includes/script-loader.php:1999
  6. wp_enqueue_scripts()
    wp-includes/class-wp-hook.php:287
  7. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
  8. WP_Hook::do_action()
    wp-includes/plugin.php:478
  9. do_action()
    wp-includes/general-template.php:3006
  10. wp_head()
    wp-content/themes/astra/header.php:26
  11. require_once()
    wp-includes/template.php:730
  12. load_template()
    wp-includes/template.php:676
  13. locate_template()
    wp-includes/general-template.php:48
  14. get_header()
    wp-content/themes/astra/page.php:20
  15. include()
    wp-includes/template-loader.php:106
  16. require_once()
    wp-blog-header.php:19
  17. require()
    index.php:17

Query Monitor


Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-content/plugins/cresta-social-share-counter/class/cresta-share-gp.php:42 Stack trace: #0 /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-content/plugins/cresta-social-share-counter/cresta-social-share-counter.php(104): crestaShareSocialCount->get_facebook() #1 /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-includes/class-wp-hook.php(287): cresta_social_share_wp_enqueue_scripts('') #2 /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-includes/script-loader.php(1999): do_action('wp_enqueue_scri...') #5 /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts(' in /home/ciaofrie/public_html/wordpresstrainingjohannesburg/wp-content/plugins/cresta-social-share-counter/class/cresta-share-gp.php on line 42
WordPress › Error

There has been a critical error on your website.

Learn more about debugging in WordPress.