Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #964801

    Hi there,

    I work on a WordPress multisite installation using Enfold theme and a child theme. I worked on the version 4.2.4 that I has updated to the brand new 4.4 yesterday. I made some testing before, however I was unable to detect the issue I face right now.

    When I go to my child theme setting page in the admin area and try to save modifications, I have the message “Saving didnt work! Please reload the page and try again.” popping out.

    With the console, I identified the file “admin-ajax.php” as the cause of the issue. The server responds with a 500 error code as you can see in the image below:
    admin-ajax.php error 500 enfold

    The funny thing is that the changes are taken into account even if Enfold told me that saving didn’t work. I inspected this issue a little bit, and as you can see in the screen below, a few seconds later the admin-ajax.php file is automatically loaded.
    admin-ajax.php error 500 network

    For information, I have already deleted the Enfold parent theme directory in my server then reinstalled it completely, so the issue doesn’t come from a bad update.
    Any clue about this issue? Is it possible that the problem is caused by an old child theme’ function.php file which was working fine on Enfold 4.2.4?

    Best regards,
    Dimitri.

    • This topic was modified 6 years, 1 month ago by dimitrilpc. Reason: Public img containing too much info aha
    #965681

    Hey dimitrilpc,

    500 internal server error is a very general error, it’s basically the server saying “something went wrong”, so I think your hosting provider should be able to give you some more answers as to why that is happening.

    I tried logging into your site but the details are not working, please check and verify.

    Best regards,
    Rikard

    #965746

    Hi Rikard,
    Sorry, should be good for the login. I will try to contact my hosting provider, but this worked fine a few days ago. I don’t understand why it have to change for Enfold 4.4. I have another clue, I have set a lot of rules for my .htaccess file. Is this possible that Enfold 4.4 introduced new rules and creates conflict with my .htaccess file? I was on 4.2.4 before.
    Best regards,
    D.

    #966048

    Hi Dimitri,

    Thanks for the feedback. We introduced performance features in 4.4, so it might be related to the rules in your .htaccess file. Could you try to disable everything under Enfold->Performance to see if that helps? If not then you can try to disable all plugins as well, since one of them might be causing a conflict of some sort. Also, do you know what version of PHP you are running on the server? It should be 5.6 or higher.

    Best regards,
    Rikard

    #968677

    Hi,
    I tried to disable all plugins, still no change unfortunately. Same goes for the performance settings. I also tried to remove all .htaccess rules except HTTPS and WP rules. I have still no clue about this. Currently, I am trying to refresh the cache of my CDN.
    My website is hosted at OVH (Performance 2 server) and runs PHP 7.2.
    Could you take a quick look on my install?
    Best regards,
    Dimitri

    • This reply was modified 6 years, 1 month ago by dimitrilpc.
    #970470

    Hi Dimitri,

    Can you please check server log for error?

    Best regards,
    Victoria

    #971174

    Hi there,

    I have fixed the issue. After looking for errors in my server log, I retraced one problematic function in my child theme’s functions.php. I guess the structure drastically changed between 4.2 and 4.4, and my functions.php file had compatibility issues. By removing the problematic function, everything went to normal. Thank you for this clue, Victoria, and thanks Rikard too. You can close this thread.

    Best regards,
    Dimitri.

    #971534

    Hi Dimitri,

    Great, glad you found the problem and thanks for the feedback. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Saving didnt work – Admin-ajax.php failed to load after Enfold 4.4 update’ is closed to new replies.