PHP Error – Filter Issue – WordPress database

This topic has 2 replies, 2 voices, and was last updated 8 months, 3 weeks ago ago by Tony Rodriguez

  • Avatar: trich
    trich
    Participant
    August 4, 2023 at 22:40

    Dear X-Store support,

    First, thank you for the great WP theme and all the hard work.
    Second, I have an issue. 😀 My hosting provider is sending me emails that they detected a PHP error on the website. I’m including the message in the private content area because it contains my IP. But my shop filter doesn’t work properly either and the message says something about the shop filter. I’ve had this problem since I updated to Version 9.1.11 / Core plugin 5.1.11, and the update didn’t solve it. I’m almost wondering if it’s a WooCommerce plugin bug.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 5, 2023 at 05:51

    Hello, @trich,

    It seems like the error you’re encountering is a PHP Fatal error related to memory exhaustion. The error message indicates that your PHP script tried to allocate more memory than the allowed memory limit. This could be causing the issues with your shop filter not working properly. The error message also provides information about the specific file and line where the error occurred: /www/lakeapparelnewyork_638/public/wp-includes/class-wpdb.php on line 2431 and the path is not our theme but the WP core files.

    Here’s what you can do to troubleshoot and potentially resolve the issue:

    Increase Memory Limit: The error message mentions that the memory limit is exhausted. You might need to increase the PHP memory limit for your WordPress website. You can do this by adding the following line to your site’s wp-config.php file, just before the line that says /* That’s all, stop editing! Happy blogging. */:

    define('WP_MEMORY_LIMIT', '512M'); // Adjust the value as needed

    Increasing the memory limit might help in case your website requires more memory to process the shop filter.

    Contact Hosting Support: Since your hosting provider is already notifying you about the PHP error, it’s a good idea to reach out to their support for assistance. They might be able to provide insights or adjust server settings to help with the memory issue.

    Remember to back up your website before making any changes or modifications.

    Best regards,
    8Theme’s Team

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

You must be logged in to reply to this topic.Log in/Sign up

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