• Resolved potel

    (@potel)


    Hello, I’m having a serious problem with Elementor and from what I understand, it has to do with the version of PHP I’m using.

    I installed my wordpress and my elementor using PHP version 5.4 and managed to use it normally, however, later, in my cpanel, I changed my version to 7.2 and Elementor was stuck as shown in the image of the link below.

    Well, as this change of php version was the last thing I had changed, I went to cpanel and changed it again to that version and that’s it, everything worked again.

    The curious thing is that this is only happening with the version 7.x of PHP, in the previous ones everything is functional.

    To answer the question, I uninstalled wordpress and all data from the database, and with version 7.2 already used, I reinstalled everything again.

    Important Notes:
    >>> I am using the clean installation, with only the elementor Plugin installed and no other plugins.
    This error occurred in other browsers besides the one I am using.
    >>> An error also occurred when clicking on the “Download system information” button on the elementor panel in the wordpress admin, showing a critical error when using admin-ajax.php
    >>> I use elementor in other projects on the same hosting and are working normally (although they were previous versions of elementor)

    Here are links with images of the problem and also of Pastebin codes as requested in a fixed topic:

    IMAGES
    https://ibb.co/wBZqF09
    https://ibb.co/XbQnYfv

    SYSTEM AND ERROR INFORMATION IN TEXT
    https://pastebin.com/sHpfh0SD
    https://pastebin.com/0Wbzbk5G

Viewing 1 replies (of 1 total)
  • Thread Starter potel

    (@potel)

    I managed to solve the problem, so I’ll leave the solution here.

    I verified that all the problems of elementor revolved around admin-ajax.php, being connected the requests already made on the server and unfortunately, even with the Debug on the server ON, there were no errors related to it, so I decided to look at the Log itself server and checked the error that was occurring, there was a lack of memory to execute wordpress ajax routines, so just add the constant WP_MEMORY_LIMIT with the value of 256 MB and that’s it, everything worked normally.

    To do so, simply add the following line to wp-config.php

    define (‘WP_MEMORY_LIMIT’, ‘256M’);

    And everything is resolved!

Viewing 1 replies (of 1 total)
  • The topic ‘Critical error when using elementor with PHP 7 or later’ is closed to new replies.