• I have an issue where whenever I attempt to edit a page with Elementor, I get the following PHP error. The page that comes up on is a 404 page that says “There has been a critical error on your website. Please check your site admin email inbox for instructions.”

    PHP Log:

    PHP: 2020-05-01 21:35:50 [error X 22][/var/www/html/wp-content/plugins/elementor/core/debug/loading-inspection-manager.php::24] Uncaught Error: Class 'Elementor\Core\Debug\Classes\Htaccess' not found in /var/www/html/wp-content/plugins/elementor/core/debug/loading-inspection-manager.php:24
    Stack trace:
    #0 /var/www/html/wp-content/plugins/elementor/core/editor/editor.php(116): Elementor\Core\Debug\Loading_Inspection_Manager->register_inspections()
    #1 /var/www/html/wp-includes/class-wp-hook.php(287): Elementor\Core\Editor\Editor->init('')
    #2 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #3 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /var/www/html/wp-admin/admin.php(401): do_action('admin_action_el...')
    #5 /var/www/html/wp-admin/post.php(12): require_once('/var/www/html/w...')
    #6 {main}
      thrown [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]

    Oddly, if I disable Elementor, then re-enable it, then I can get it to work. I’ve tried re-installing.

    System information:

    				
    == Server Environment ==
    	Operating System: Linux
    	Software: nginx/1.17.10
    	MySQL version: (Ubuntu) v8.0.20
    	PHP Version: 7.4.3
    	PHP Max Input Vars: 5000
    	PHP Max Post Size: 512M
    	GD Installed: Yes
    	ZIP Installed: Yes
    	Write Permissions: All right
    	Elementor Library: Connected
    
    == WordPress Environment ==
    	Version: 5.4.1
    	Site URL: https://www.pressurewave.tech
    	Home URL: https://www.pressurewave.tech
    	WP Multisite: No
    	Max Upload Size: 512 MB
    	Memory limit: 512M
    	Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
    	Language: en-US
    	Timezone: -8
    	Debug Mode: Inactive
    
    == Theme ==
    	Name: Layers for Elementor
    	Version: 1.0.3
    	Author: Elementor
    	Child Theme: No
    
    == User ==
    	Role: administrator
    	WP Profile lang: en-US
    	User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36
    
    == Active Plugins ==
    	Elementor
    		Version: 2.9.8
    		Author: Elementor.com
    
    == Must-Use Plugins ==
    	Autoloader
    		Version: 1.2.1
    		Author: LittleBizzy
    
    	XXX Common
    		Version: 0.0.0
    		Author: SlickStack
    
    == Elements Usage ==
    

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I am having the same error with elementor and I also have SlickStack on my server so I think the problem is with some settings for nginx in SlickStack.

    This is my solution:

    1. Download this file: var/www/html/wp-content/plugins/elementor/core/debug/loading-inspection-manager.php
    2. Comment line 24 /*$this->inspections['htaccess'] = new Htaccess();*/
    3. Save and upload the file.

    I think elementor try to find .htaccess but nginx doesn′t have it.

    • This reply was modified 4 years, 7 months ago by corzel.
    • This reply was modified 4 years, 7 months ago by corzel.
    • This reply was modified 4 years, 7 months ago by corzel.

    Hello I register to say the problem is that Elementor plugin foolishly requires htaccess files in their plugin folders..

    if the htaccess is missing (like Nginx servers as SlickStack) their plugin will result to Fatal Errors

    Uncaught Error: Class ‘Elementor\Core\Debug\Classes\Htaccess’ not found

    This can be easily fixed by Elementor team after some months they refuse to fix it and support Nginx servers so that is their own decision. There are other page builders that will support Nginx servers and do not require htaccess files

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Uncaught Error when trying to edit’ is closed to new replies.