• Resolved brittasully

    (@brittasully)


    I’m seeing errors in my server logs about once a minute from this plugin.
    The error is always the same:

    2022/05/04 13:19:44 [error] 45330#45330: *2778351 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Exception::get_pinterest_code() in /www/mywebsite/public/wp-content/plugins/pinterest-for-woocommerce/src/FeedRegistration.php:98
    Stack trace:
    #0 /www/mywebsite/public/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\Pinterest\FeedRegistration->handle_feed_registration()
    #1 /www/mywebsite/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #2 /www/mywebsite/public/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #3 /www/mywebsite/public/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array('pinterest-for-w...', Array)
    #4 /www/mywebsite/public/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #5 /" while reading response header from upstream, client: 35.224.125.70, server: www.mywebsite.com, request: "POST /wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=8af28db522 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7.4-fpm-k5technologycurriculumcom.sock:", host: "www.mywebsite.com:24024", referrer: "https://www.mywebsite.com/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=8af28db522"

    *site URL altered for privacy*

    I understand that the plugin is unable to run properly when my Pinterest Verified Merchant connection is interrupted, but trying to run this action every minute is taking away valuable server resources.

    For now I’ve deactivated the plugin. Please let me know next steps.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support pepe0

    (@pepe0)

    Hello brittasully,

    We are in the process of fixing the bug and it should appear in one of the next upgrades.

    Best
    Pepe

    I got same issue here:

    An error of type E_ERROR was caused in line 98 of the file /home/646589.cloudwaysapps.com/qvygscxsua/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/646589.cloudwaysapps.com/qvygscxsua/public_html/wp-content/plugins/pinterest-for-woocommerce/src/FeedRegistration.php:98
    Stack trace:
    #0 /home/646589.cloudwaysapps.com/qvygscxsua/public_html/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\Pinterest\FeedRegistration->handle_feed_registration()
    #1 /home/646589.cloudwaysapps.com/qvygscxsua/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #2 /home/646589.cloudwaysapps.com/qvygscxsua/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
    #3 /home/646589.cloudwaysapps.com/qvygscxsua/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/vendor/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array()
    #4 /home/646589.cloudwaysapps.com/qvygscxsua/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/vendor/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionSc
    Plugin Support pepe0

    (@pepe0)

    Hello @mingyan109

    As soon as the update is available, I will announce in this channel that you can download the update

    Best
    Pepe

    Plugin Support Christian

    (@christian1983)

    Hey @mingyan109 @brittasully

    Hope you are doing well!

    Was the issue fixed?

    Best,
    Christian

    Hi Christian,

    No errors message any more. The issue is fixed.

    Kind regards

    Ivy

    Plugin Support pepe0

    (@pepe0)

    Happy to hear, @mingyan109

    If you need any other help, please don’t hesitate to open a new ticket.

    Best,
    Pepe

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Server PHP Errors’ is closed to new replies.