• Resolved mothermayapple

    (@mothermayapple)


    There is a critical error just now with your plugin, it crashes my whole website. I am deactivating it until it is resolved.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    What kind of errors are in your fatal error logs? Can you paste them here? That will help us figure out what is the source of the issue. If you are not sure where to locate logs, you can ask your host for the server error logs.

    Hopefully that helps! Have a great one!

    Thread Starter mothermayapple

    (@mothermayapple)

    There are several errors from today, here is an example:

    2020-05-05 08:41:33.061242 [NOTICE] [20444] [/home/mayapple/public_html/.htaccess:143] Unsupported ErrorDocument URL: default, must start with ‘/’ or ‘http’.

    I narrowed it down to the Square for Woocommerce plugin by activating plugins one at a time. Right now I have the plugin deactivate, so my website is working. If I activate the plugin, it crashes both the front- and back-end.

    Thanks for your help with this!

    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    That’s actually not an error, that’s a [NOTICE]

    Can you see if WooCommerce caught any fatals here: https://d.pr/i/AAgUQw

    That’s in the Status > Logs page, and then the dropdown there will say if it has a fatal error log. If there’s not one there, then your host would be essentially your only source of logs for this.

    Thread Starter mothermayapple

    (@mothermayapple)

    It occurred to me that it might be a conflict with Bulletproof Security which writes a number of rules to htaccess. To test that theory, I deactivated BPS plugin and deleted htaccess from my root folder. I still get a critical error when I activate the WooCommerce Square plugin, but the errors have changed:

    2020-05-05 08:59:53.029204 [INFO] [20443] [114.119.165.159:37182#APVH_mayapplesoaps.com:443] File not found [/home/mayapple/public_html/product-tag/garden-grown-ingredients]
    2020-05-05 08:59:01.080553 [INFO] [20444] [107.180.109.27:55192#APVH_mayapplesoaps.com] File not found [/home/mayapple/public_html/401.shtml]
    2020-05-05 08:59:01.080266 [INFO] [20444] [HTAccess] Configuration file [/home/mayapple/public_html/.htaccess] has been removed.

    None of these look like critical errors to me, but maybe you see something here that I do not… ?

    Thread Starter mothermayapple

    (@mothermayapple)

    Ok, this should be more helpful:

    2020-04-27T07:04:23+00:00 CRITICAL Uncaught Error: Call to a member function getCursor() on string in /home/mayapple/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Interval_Polling.php:261
    Stack trace:
    #0 /home/mayapple/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(114): WooCommerce\Square\Sync\Interval_Polling->update_inventory_counts()
    #1 /home/mayapple/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
    #2 /home/mayapple/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
    #3 /home/mayapple/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job(Object(WooCommerce\Square\Sync\Interval_Polling))
    #4 /home/mayapple/public_html/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-back in /home/mayapple/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Interval_Polling.php on line 261

    Someone who has WPEngine hosting found a solution for this problem > https://wordpress.org/support/topic/square-to-woo-sync-broken/, but it looks like your host is A2 hosting.

    Anyone with this issue that uses WP Engine

    Put this in your WP Config:
    define( ‘WPE_GOVERNOR’, false );

    • This reply was modified 5 years, 11 months ago by AITpro.
    Thread Starter mothermayapple

    (@mothermayapple)

    AITpro, I also find that sync gets broken often Square -> WooCommerce. Should I try applying that fix even though I have a different host?

    Nope, don’t use the WPEngine fix since it would only work specifically for sites hosted on WPEngine. Unfortunately, google searches are pointing me back to this plugin’s support page. So I will butt out at this point since I don’t know much about this plugin. πŸ˜‰ After rechecking the WPEngine fix it only works for Long Queries or Killed Queries. So wrong fix even if you did have WPEngine hosting. πŸ˜‰

    • This reply was modified 5 years, 11 months ago by AITpro.
    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    @mothermayapple can you please update the Square plugin to the latest version (2.1.4) and see if that helps?

    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Critical error’ is closed to new replies.