Title: Update error
Last modified: September 19, 2022

---

# Update error

 *  Resolved [Konstatninos](https://wordpress.org/support/users/skredlemon/)
 * (@skredlemon)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/update-error-118/)
 * Hi, I don’t know if this is caused directly by your plugin, but I thought I’d
   touch base just in case, because you plugin’s name is mentioned in the error 
   message. I have received the following:
 *     ```
       Updates were not installed for the following items:
   
       1. Website "site-name" (https://mydomain.tld): Failed to reset cache for the instance #2: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/mysite/public_html/wp-content/plugins/cookie-law-info/public/modules/shortcode/shortcode.php on line 272 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/mysite/public_html/wp-includes/pomo/streams.php on line 180
       ```
   
 * The PHP version is 8.0, the WP_MEMORY_LIMIT is set to 256M, and I have been using
   WP-Rocket for caching, in case any of that helps.
 * Would you kindly review and advise?
 * Thank you.
    -  This topic was modified 3 years, 6 months ago by [Konstatninos](https://wordpress.org/support/users/skredlemon/).

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

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/update-error-118/#post-16038481)
 * Hi [@skredlemon](https://wordpress.org/support/users/skredlemon/),
 * Greetings from Webtoffee!
 * Optimizing our plugin JS and CSS is not a good idea. Since you are using WP-Rocket
   there is a chance of adding optimizations. Kindly exclude the below files of 
   our plugin from optimization.
 * **Javascript**
 * Cli_Data
    cli_cookiebar_settings ccpa_data /cookie-law-info-public.js /cookie-
   law-info-ccpa.js ** CSS
 * /cookie-law-info-public.css
    /cookie-law-info-gdpr.css /cookie-law-info-table.
   css
 * It could also happen due to memory exhaustion. Please try increasing the memory
   limit on your site and check. You can follow [this link,](https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/)
   which aids you in increasing your WordPress memory limit.
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/update-error-118/#post-16057422)
 * Hi [@skredlemon](https://wordpress.org/support/users/skredlemon/),
 * Greetings, we’re delighted to assist you!
 * Since there hasn’t been any activity in this thread for a while, we believe the
   problem has been handled. It will be marked as resolved. If you have any additional
   questions, start a new thread.

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

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

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/update-error-118/#post-16057422)
 * Status: resolved