Fatal Error
-
Hello there
We are receiving a fatal error on our woo commerce logs everyday from your plugin, the error is as follows.
2022-03-04T23:29:59+00:00 CRITICAL Uncaught TypeError: unlink(): Argument #1 ($filename) must be of type string, WP_Error given in /var/www/gg/wp-content/plugins/customer-reviews-woocommerce/includes/reviews/class-cr-reviews-media-download.php:138 Stack trace: #0 /var/www/gg/wp-content/plugins/customer-reviews-woocommerce/includes/reviews/class-cr-reviews-media-download.php(138): unlink(Object(WP_Error)) #1 /var/www/gg/wp-content/plugins/customer-reviews-woocommerce/includes/reviews/class-cr-reviews-media-download.php(115): CR_Reviews_Media_Download->download_media_file(Object(stdClass), Array, Array) #2 /var/www/gg/wp-includes/class-wp-hook.php(307): CR_Reviews_Media_Download->download_media_frontend('') #3 /var/www/gg/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /var/www/gg/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #5 /var/www/gg/wp-admin/admin-ajax.php(202): do_action('wp_ajax_nopriv_...') #6 {main} thrown in /var/www/gg/wp-content/plugins/customer-reviews-woocommerce/includes/reviews/class-cr-reviews-media-download.php on line 138
These errors started happening when you switched to media download. lately, we are seeing that the plugin is trying to allocate way more memory for this and breaking our backend.
2022-03-04T23:54:25+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 8388648 bytes) in /var/www/gg/wp-includes/wp-db.php on line 2128
Please Advise.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal Error’ is closed to new replies.