Support » Plugin: WP Social Post And Widget » Fatal error: Uncaught Error: Access to undeclared static property

  • Resolved Graham Stoney

    (@greyham)


    I like the idea of this plugin, but can’t get it to work.

    I’m getting this error when I access WP Instagram -> Logins on the dashboard:
    Fatal error: Uncaught Error: Access to undeclared static property: InstagramAPI\Instagram::$allowDangerousWebUsageAtMyOwnRisk in …/public_html/wp-content/plugins/wp-instagram-post/classes/class-woo-igp.php:130 Stack trace: #0 …/public_html/wp-content/plugins/wp-instagram-post/wpigp.logins.php(3): Woo_IGP->wigp_get_inst(true) #1 …/public_html/wp-content/plugins/wp-instagram-post/classes/class-woo-igp.php(698): include_once(‘…’) #2 …/public_html/wp-includes/class-wp-hook.php(286): Woo_IGP->wooigp_logins_page(”) #3 …/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 …/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #5 …/public_html/wp-admin/admin.php(253): do_action(‘toplevel_page_w…’) #6 {main} thrown in …/public_html/wp-content/plugins/wp-instagram-post/classes/class-woo-igp.php on line 130

    My server is set to use PHP 7.0.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author qsheeraz

    (@qsheeraz)

    Instagram API files are not properly copied to your site. These are missing.
    Please delete and install a clean copy of the plugin.

    Thank you. I have reinstalled and the error message has gone away. Cheers, Graham

    Same problem. Unistalled and Reinstalled and the problem persist:

    Fatal error: Uncaught Error: Access to undeclared static property: InstagramAPI\Instagram::$allowDangerousWebUsageAtMyOwnRisk in /home/bca/public_html/wp-content/plugins/wp-instagram-post/classes/class-woo-igp.php:134 Stack trace: #0 /home/bca/public_html/wp-content/plugins/wp-instagram-post/wpigp.logins.php(3): Woo_IGP->wigp_get_inst(true) #1 /home/bca/public_html/wp-content/plugins/wp-instagram-post/classes/class-woo-igp.php(726): include_once(‘/home/bca/publi…’) #2 /home/bca/public_html/wp-includes/class-wp-hook.php(286): Woo_IGP->wooigp_logins_page(”) #3 /home/bca/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 /home/bca/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /home/bca/public_html/wp-admin/admin.php(224): do_action(‘toplevel_page_w…’) #6 {main} thrown in /home/bca/public_html/wp-content/plugins/wp-instagram-post/classes/class-woo-igp.php on line 134

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Uncaught Error: Access to undeclared static property’ is closed to new replies.