Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1337155

    Hi, so im running enfold and have run into a couple of issues on my website.

    First when I try to save a page with the “social buttons” element the page will not save.
    Second the search is a little messed up. When i use the search it will drop down the ajax search but when i view all results it throws an error.

    Can you help me take a look at these issues on my website?

    I keep getting these errors within my logs

    [25-Jan-2022 18:02:59 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /home/devcganet/public_html/wp-includes/formatting.php on line 486

    Here are my PHP settings

    display_errors = Off
    max_execution_time = 90
    max_input_time = 90
    max_input_vars = 4000
    memory_limit = 512M
    post_max_size = 256M
    session.gc_maxlifetime = 1440
    session.save_path = “/var/cpanel/php/sessions/ea-php74”
    upload_max_filesize = 60M
    zlib.output_compression = Off

    Thanks
    -Dan

    #1337205

    Hey acscreativenew,

    Thank you for the inquiry.

    Have you tried deactivating the plugins temporarily? Please set the installation to debug mode and enable the logs so that we can check for errors.

    // https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging

    We tried to access the site but the login account above does not exists (see private field). Please provide a valid account.

    Best regards,
    Ismael

    #1337379

    Hi,

    Sorry, login should be good now.

    I have turned off all the plugins and im still getting the same error. Also, debugging is turned on now.

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /home/devcganet/public_html/wp-includes/formatting.php on line 486

    #1337458

    Hi,

    Thanks for the update.

    That page has the social share element on it. If i remove that

    It is definitely an issue with the social share element. Did you use a social plugin for that, or are you using the default social share element in the builder? Please try to update the theme to version 4.8.9.

    Best regards,
    Ismael

    #1337554

    So everything on my theme is already updated theme and plugins.

    It is using the built in social share that is causing the issues.

    #1337664

    Hi,

    Thank you for the update.

    The error also occurred when we try to update the page. Did you override the social share element in the child theme? Please post the FTP login details in the private field so that we can access the theme files.

    Best regards,
    Ismael

    #1337760

    I did not modify the social share within the child theme.

    #1337954

    Hi,
    Thank you for the login, the error /public_html/wp-includes/formatting.php on line 533 points to a core WordPress file and line 533 is this:

    	// Remove more than two contiguous line breaks.
    	$pee = preg_replace( "/\n\n+/", "\n\n", $pee );

    which doesn’t make sense why the error would point to line breaks.
    I noticed that my demo site is using the same PHP version & Server architecture, and the only difference was your PHP max input variables is half of mine and your PHP time limit is much less, try adjusting these to see it it helps.
    2022-01-30_165036.jpg

    Best regards,
    Mike

    #1341037

    I have updated these settings and am still getting the same results.

    Any page that has the social share element on it will not load and as soon as I remove that element it loads again.

    #1341246

    I found the issue here. It was a custom script I added to the functions file that was causing the issue here.

    #1341262

    Hi,

    Great! Good to know that you have found the issue. Let us know if you have more questions.

    Best regards,
    Ismael

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