This topic has 14 replies, 2 voices, and was last updated 3 years, 1 months ago ago by Olga Barlow
Hi there,
Someday I’ve got emaisl from WordPress alerting me about erros xtore core plugin.
What can I do, See below :
Une erreur de type E_ERROR a été causée dans la ligne 502 du fichier /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php. Message d’erreur : Uncaught Error: Call to a member function get_cart_contents_count() on null in /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php:502
Stack trace:
#0 /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/theme-options/global/callbacks.php(1228): etheme_cart_quantity()
#1 /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/templates/header/parts/cart.php(112): header_cart_callback()
#2 /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/templates/header/parts/connect_block.php(101): require(‘/home/pierres/w…’)
#3 /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/theme-options/global/callbacks.php(113): require(‘/home/pierres/w…’)
#4 /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/theme-options/global/callbacks.php(170): header_content_callback(‘main’)
#5 /home/pierres/www/wp-content/plugins/et-core-plugin/app/models/customizer/templates/header/header-main.ph
Hello,
What actions did you do before this message? Maybe theme or plugin update or something?
Do you have any error on your site now?
Regards
I have those errors since the beginning I put the website online (may)…at every theme or plugin update or for nothing
Hello,
Clear error logs, check your site and let me know if the mentioned errors appear on your site again.
Regards
the mails erros are still there
Hello,
Provide us with WP Dashboard and FTP access to your site to check the issue.
Regards
please read the private details
Hello,
Thank you. What about FTP? And also create error log file in the WP root directory to allow us to monitor when the mentioned errors appear there.
Regards
See the FTP details,
the error_log file has been created
Thanks a lot
Hello,
I don’t see error log file, only folder and it’s empty https://prnt.sc/1xldu41
So, where could we check the file with the mentioned errors?
Regards
You’ve asked me to create a file so I did it.
I’ve changed the wp-config file and wrote true to : define(‘WP_DEBUG_LOG’, true);
it isn’t enough ?
Hello,
It does not save errors to log file because I don’t see log file in your WP installation directory. Or there are no errors. Please, contact your hosting provider to get help with this.
Regards
so if I don’t do do that my problem can’t be solved ?
Hello,
We should be able to see the error log to find out when the error appears and understand if our changes have any effect. We can’t fix the problem if we even don’t see the errors or if the error log file is empty.
Regards
Tagged: error, woocommerce, wordpress, wordpress templates
The issue related to '‘WordPress Error’' has been successfully resolved, and the topic is now closed for further responses