Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1421947

    I’ve been geting the following in error logs. Need some help determining what is causing this.

    PHP Fatal error: Uncaught Error: Call to undefined function wc_get_notices() in /wp-content/themes/enfold/config-woocommerce/config.php:2818\nStack

    #1421971

    Hey ttem,

    Thank you for the inquiry.

    Do you have any plugins that run scheduled tasks in the background? The error occurs in the enfold/config-woocommerce/config.php > avia_woocommerce_cart_dropdown function, which is used in the avia_woocommerce_cart_placement function and is responsible for rendering the cart dropdown.

    If you want to disable the function temporarily, please add this code in the functions.php file.

    remove_action( 'ava_main_header', 'avia_woocommerce_cart_dropdown', 10 );
    remove_action( 'ava_inside_main_menu', 'avia_woocommerce_cart_dropdown', 10 );
    remove_action( 'ava_before_bottom_main_menu', 'avia_woocommerce_cart_dropdown', 10 );
    

    Best regards,
    Ismael

    #1422052

    Hi Ismael,

    Thanks for quick reply! I don’t have any scheduled task plug-in. Anyway to troubleshoot and not lose the cart drop down functionality?

    #1422096

    Hi,

    Thank you for the update.

    Do you get the error when the plugins are deactivated? Please provide the WP and S/FTP login details in the private field so that we can further check the issue.

    Best regards,
    Ismael

    #1422272

    Thank you..much appreciated! logins below.

    #1422331

    Hi,

    Thank you for the info.

    We cannot find the error log in any folders and we don’t see any issues with the site when we switched to debug mode. Did you change the location of the error log?

    Best regards,
    Ismael

    #1422387

    You can access by clicking on WP Engine tab in the wp admin dashboard

    #1422616

    Hi,

    We aren’t noticing any problems on the frontend, but when we try to access the error logs in the WP Engine panel, we encounter this error. Is it possibly restricted in some way?”

    [Mon Oct 16 01:10:42.087656 2023] [autoindex:error] [pid 16742] [client .....:0] AH01276: Cannot serve directory /nas/..../live/..../wp-includes/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
    [Mon Oct 16 02:42:23.368566 2023] [autoindex:error] [pid 19213] [client ....] AH01276: Cannot serve directory /.../content/live/..../wp-includes/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
    

    Thank you for your patience.

    Best regards,
    Ismael

    #1423194

    Hi Ismael,

    Sorry I missed your response till now. Those are the error logs. I did add your code function to child function.php to disable cart dropdown. So would not be showing that error in the error logs unless function disable code is removed.

    #1423352

    Hi,

    Thank you for the update.

    Looks like the errors are NOT originating from the functions.php file, but rather from a misconfiguration on your server. Have you tried asking WP Engine regarding these errors? We also noticed that some of the template files have been modified in your child theme, which might require updates. Again, we are not seeing any errors in the front end.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.