• Resolved abmeyun

    (@abmeyun)


    Hi there,

    I’ve installed Elementor as usual on this wordpress website. I have been doing some work on it during the last 3 weeks. And, now, I am experiencing this issue every time I try to edit a page with Elementor: >> 502 Bad Gateway
    HttpException(‘Connection closed prematurely’,)

    I’ve deactivated plugins, change the template to the regular. Follow the steps from this article: https://docs.elementor.com/article/219-502-error-when-i-try-to-edit-with-elementor

    Rollback the version of Element, change the PHP version and upgrade the memory on server side. As it is a wordpress hosted on AlibabaCloud I request a change to the 5.6 version but they are still on 5.5.30.

    How could I fix this issue?

    Here is my config with the last logs:

    == Server Environment ==
    Operating System: Linux
    Software: Apache
    MySQL version: Source distribution v5.6.16
    PHP Version: 5.5.30
    PHP Max Input Vars: 1000
    PHP Max Post Size: 10M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    == WordPress Environment ==
    Version: 5.1.1
    Site URL: http://www.bridgeme.net
    Home URL: http://www.bridgeme.net
    WP Multisite: No
    Max Upload Size: 10 MB
    Memory limit: 128M
    Permalink Structure: Plain
    Language: fr-FR
    Timezone: Europe/Paris
    Debug Mode: Inactive

    == Theme ==
    Name: Twenty Seventeen
    Version: 2.2
    Author: the WordPress team
    Child Theme: No

    == User ==
    Role: administrator
    WP Profile lang: fr_FR
    User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36

    == Active Plugins ==
    Elementor
    Version: 2.5.15
    Author: Elementor.com

    == Must-Use Plugins ==
    Elementor Safe Mode
    Version: 1.0.0
    Author: Elementor.com

    == Log ==
    :
    Log: showing 1 of 12019-05-10 23:06:54 [info] Elementor data updater process has been completed. [array (
    ‘plugin’ => ‘Elementor’,
    ‘from’ => ‘2.5.14’,
    ‘to’ => ‘2.5.15’,
    )]

    PHP: showing 2 of 2PHP: 2019-05-10 23:08:12 [notice X 2][/home/u504357/ews/workspace/php/appcode/webroot/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined index: data [array (
    ‘trace’ => ‘
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ‘,
    )]
    PHP: 2019-05-18 22:41:35 [notice X 4][/home/u504357/ews/workspace/php/appcode/webroot/htdocs/wp-content/plugins/elementor/core/logger/items/base.php::101] Array to string conversion [array (
    ‘trace’ => ‘
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ‘,
    )]

Viewing 1 replies (of 1 total)
  • That old PHP version may very well be the issue. Also, you say you followed the instructions at the document you linked, but did you also try adding the following code to your htaccess?

    <IfModule mod_substitute.c>
    SubstituteMaxLineLength 10M
    </IfModule>

    And if you are going to request a change to PHP, don’t request a change to an old version that has already reached its End Of Life. Ask for 7.2 or 7.3.

Viewing 1 replies (of 1 total)
  • The topic ‘502 Bad Gateway – HttpException’ is closed to new replies.