WordPress Error - by Shirley Djaka - on WordPress WooCommerce support

This topic has 14 replies, 2 voices, and was last updated 3 years, 1 months ago ago by Olga Barlow

  • Avatar: Shirley Djaka
    Shirley Djaka
    Participant
    September 28, 2021 at 16:11

    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

    13 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 28, 2021 at 18:12

    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

    Avatar: Shirley Djaka
    Shirley Djaka
    Participant
    September 29, 2021 at 08:04

    I have those errors since the beginning I put the website online (may)…at every theme or plugin update or for nothing

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 29, 2021 at 13:47

    Hello,

    Clear error logs, check your site and let me know if the mentioned errors appear on your site again.

    Regards

    Avatar: Shirley Djaka
    Shirley Djaka
    Participant
    October 27, 2021 at 09:48

    the mails erros are still there

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 13:29

    Hello,

    Provide us with WP Dashboard and FTP access to your site to check the issue.

    Regards

    Avatar: Shirley Djaka
    Shirley Djaka
    Participant
    October 27, 2021 at 14:11

    please read the private details

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 14:18

    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

    Avatar: Shirley Djaka
    Shirley Djaka
    Participant
    October 27, 2021 at 15:06

    See the FTP details,
    the error_log file has been created

    Thanks a lot

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 28, 2021 at 11:01

    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

    Avatar: Shirley Djaka
    Shirley Djaka
    Participant
    October 29, 2021 at 10:41

    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 ?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 29, 2021 at 16:01

    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

    Avatar: Shirley Djaka
    Shirley Djaka
    Participant
    November 2, 2021 at 10:15

    so if I don’t do do that my problem can’t be solved ?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 2, 2021 at 15:39

    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

  • Viewing 14 results - 1 through 14 (of 14 total)

The issue related to '‘WordPress Error’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.