• Resolved Raquel

    (@keuls)


    Hi,

    I got a heads-up from WordPress yesterday about the error below. I’ll try to do a conflict test on a staging site when I have some time, but wanted to check first in case is something you are aware of.

    WordPress version 5.9.3
    Current theme: Storefront (version 4.1.0)
    Current plugin: Pinterest for WooCommerce (version 1.0.11)
    PHP version 7.4.28

    Error Details
    =============
    An error of type E_ERROR was caused in line 98 of the file /home/customer/www/glazemepretty.com/public_html/wp-content/plugins/pinterest-for-woocommerce/src/FeedRegistration.php. Error message: Uncaught Error: Call to undefined method Exception::get_pinterest_code() in /home/customer/www/glazemepretty.com/public_html/wp-content/plugins/pinterest-for-woocommerce/src/FeedRegistration.php:98
    Stack trace:
    #0 /home/customer/www/glazemepretty.com/public_html/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\Pinterest\FeedRegistration->handle_feed_registration()
    #1 /home/customer/www/glazemepretty.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #2 /home/customer/www/glazemepretty.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #3 /home/customer/www/glazemepretty.com/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array(‘pinterest-for-w…’, Array)
    #4 /home/customer/www/glazemepretty.com/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #5 /h`

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @keuls,

    Thank you for reporting this issue to us, and I’m sorry about the error you’re seeing. I’ve opened an issue for this to be addressed on GitHub. It appears that something is causing the feed registration to fail, and the code isn’t properly handling that failure.

    There are a few reasons the feed registration might fail, and to resolve that portion of the issue we’ll need some more information. To get that information, we’ll need the latest error logs from your site. Here’s what you can do to get those:

    1. Go to Marketing > Pinterest > Settings in your WordPress dashboard.
    2. In the “Advanced” section, ensure that the box labeled “Enable Debug Logging” is checked.
    3. Save the settings if necessary.
    4. Wait for the feed generation to be attempted again. It’s scheduled to try to register the feed about every 10 minutes
    5. In your dashboard, go to WooCommerce > Status > Logs. In the log selector drop-down, copy the contents of the most recent logs that start with both pinterest-for-woocommerce and interest-for-woocommerce-product-sync.

    Once we have the information from the logs, we can give you better guidance on next steps from here.

    Was this ever resolved? I’m getting exactly the same error on both of my websites.

    Thread Starter Raquel

    (@keuls)

    I’ve ended up moving to Shopify, it was just too much for me to handle all plugin incompatibilities in WordPress.

    Plugin Support Christian

    (@christian1983)

    Hey there,

    the fix of this thread should be released soon.

    This thread will be closed. For new issues please open a new thread

    Best,
    Christian

    Any news on this ? I am still getting the same error

    @biba1403 Please upgrade to the latest version of the plugin: 1.0.12

    Done, I ll keep an eye on it. Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught Error: Call to undefined method Exception::get_pinterest_code()’ is closed to new replies.