• Resolved lucidkb

    (@lucidkb)


    Suddenly, on pages with product inserts with the plugin active, the site responds with “There has been a critical error on your website.”

    I’ve deleted and reinstalled the plugin, but it did not fix the issue. Deactivating is the only thing that allows pages to render.

    I run the Pro plugin, but that doesn’t appear to be causing the issue.

    Please help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Can you post an error message and the plugin version?

    If you are using the development version (v4.x), it has an issue when more than 10 items are called which affects Pro users.

    Thread Starter lucidkb

    (@lucidkb)

    Thanks for the quick response!

    Amazon Auto Links
    Version 3.12.0 | By Michael Uno (miunosoft)

    Amazon Auto Links Pro
    Version 3.3.0 | By Michael Uno (miunosoft)

    ERROR message on my post.

    “There has been a critical error on your website.

    Learn more about debugging in WordPress.”

    Plugin Author miunosoft

    (@miunosoft)

    Hi, that message is too vague for the developer to know the cause. The exact PHP error message would help and it can be found in PHP error log. You may want to temporarily enable the site debug mode by giving true to the WP_DEBUG constant. A log file will be created in the wp-content directory.

    In the meantime, you can try older version of the plugin to see if the same problem occurs. The previous version v3.11.1 is here. You can find the other version in this page as well.

    Thread Starter lucidkb

    (@lucidkb)

    Understood. Here’s the error log. Thanks.

    [14-Feb-2020 15:09:04 UTC] PHP Fatal error: Uncaught Error: Cannot unset string offsets in /home/digiuiwt/wholesomeone.com/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/http/AmazonAutoLinks_HTTPClient_Base.php:297
    Stack trace:
    #0 /home/digiuiwt/wholesomeone.com/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/http/AmazonAutoLinks_HTTPClient_Base.php(249): AmazonAutoLinks_HTTPClient_Base->_getHTTPResponseWithCache(Array, Array, ‘86400’)
    #1 /home/digiuiwt/wholesomeone.com/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/http/AmazonAutoLinks_HTTPClient_Base.php(171): AmazonAutoLinks_HTTPClient_Base->getResponses()
    #2 /home/digiuiwt/wholesomeone.com/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/url/output/AmazonAutoLinks_UnitOutput_url.php(126): AmazonAutoLinks_HTTPClient_Base->get()
    #3 /home/digiuiwt/wholesomeone.com/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/url/output/AmazonAutoLinks_UnitOutput_url.php(42 in /home/digiuiwt/wholesomeone.com/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/http/AmazonAutoLinks_HTTPClient_Base.php on line 297

    Plugin Author miunosoft

    (@miunosoft)

    Thanks for posting the error.

    Are you using a custom build of the plugin or third-party extension plugin?

    The error can hardly occur unless the structure of the plugin cache is modified.

    Thread Starter lucidkb

    (@lucidkb)

    No customizations. Is there anything you recommend I do to attempt to correct things?

    Plugin Author miunosoft

    (@miunosoft)

    Can you try the development version (v4.0.0b08)? It should remove the error.

    However, it is not something that completely solves the root problem.

    After installing and activating the development version, go to Dashboard -> Amazon Auto Links -> Tools -> Error Log. And find an entry that says “The cache data is corrupted.” Then can you post that part of the log here?

    Thank you.

    Thread Starter lucidkb

    (@lucidkb)

    The dev version 4.0 corrected things after I re-selected the default template! Thanks!

    In the error log it reads as….

    The cache data is corrupted.
    2020-02-19 10:29:38 AAL_79cd6f2c0b786bcdf39407eb8c3fc2f0 https://webservices.amazon.com/paapi5/searchitems string 1
    https://wholesomeone.com/condition/osteoarthritis-natural-treatments

    Plugin Author miunosoft

    (@miunosoft)

    Thanks for posting the error log.

    Not sure why you get a string value there.

    The new version 4.0.0 defaults to not compress caches for HTTP requests. This might solve the issue. (this behavior can be changed via Dashboard -> Amazon Auto Links ->Settings -> Cache -> Compress).

    Please keep an eye on the error log and if you keep getting the corrupted cache message, let me know because it should not be left unfixed.

    Thread Starter lucidkb

    (@lucidkb)

    Got it, thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘critical error on your website’ is closed to new replies.