Support » Plugin: WooCommerce » Pinterest for WooCommerce – Fatal Error get_pinterest_code()

  • Resolved siutek

    (@siutek)


    Hi, I installed the official Pinterest for WooCommerce extension in my store. I was able to connect my account and add products from my store to my account on Pinterest.

    But now, every time the extension wants to automatically sync my store with my Pinterest account I get this error:

    Uncaught Error: Call to undefined method Exception::get_pinterest_code() in /home/xxxxxx/domains/my-site.pl/public_html/assets/extensions/pinterest-for-woocommerce/src/FeedRegistration.php:98
    Stack trace:
    #0 /home/xxxxxx/domains/my-site.pl/public_html/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\Pinterest\FeedRegistration->handle_feed_registration()
    #1 /home/xxxxxx/domains/my-site.pl/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #2 /home/xxxxxx/domains/my-site.pl/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #3 /home/xxxxxx/domains/my-site.pl/public_html/assets/extensions/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array('pinterest-for-w...', Array)
    #4 /home/xxxxxx/domains/my-site.pl/public_html/assets/extensions/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #5 /home/xxxxxx/domains/my-site.pl/public_html/assets/extensions/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(5478, 'WP Cron')
    #6 /home/xxxxxx/domains/my-site.pl/public_html/assets/extensions/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron')
    #7 /home/xxxxxx/domains/my-site.pl/public_html/wp-includes/class-wp-hook.php(307): ActionScheduler_QueueRunner->run('WP Cron')
    #8 /home/xxxxxx/domains/my-site.pl/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #9 /home/xxxxxx/domains/my-site.pl/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #10 /home/xxxxxx/domains/my-site.pl/public_html/wp-cron.php(138): do_action_ref_array('action_schedule...', Array)
    #11 {main}
      thrown

    Any idea?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.