• Resolved mcubes

    (@mcubes)


    sir, i face a problem from yestrday that it says critical error on website but i am unable to do anything. I use Bitnami AWS so i use the command line to disable the plugin
    when i tried to disable the plugin it coms with an error log

    [Mon Aug 08 16:33:17.742630 2022] [proxy_fcgi:error] [pid 1019:tid
    140681813042944] [client **ip_address**:38572] AH01071: Got error 'PHP message:
    PHP Fatal error: Uncaught Error: Call to undefined function create_function() in
    /bitnami/wordpress/wp-content/themes/hello-elementor/functions.php:10
    Stack trace:
    #0 /opt/bitnami/wordpress/wp-settings.php(566): include()
    #1 /bitnami/wordpress/wp-config.php(190): require_once('...')
    #2 /opt/bitnami/wordpress/wp-load.php(50): require_once('...')
    #3 [Mon Aug 08 16:33:23.557590 2022] [proxy_fcgi:error] [pid 1019:tid
    140682140059392] [client **ip_address**:38246] AH01071: Got error 'PHP message:
    PHP Fatal error: Uncaught Error: Call to undefined function create_function() in
    /bitnami/wordpress/wp-content/themes/hello-elementor/functions.php:10
    Stack trace:
    #0 /opt/bitnami/wordpress/wp-settings.php(566): include()
    #1 /bitnami/wordpress/wp-config.php(190): require_once('...')
    #2 /opt/bitnami/wordpress/wp-load.php(50): require_once('...')
     [Mon Aug 08 16:33:54.792151 2022] [proxy_fcgi:error] [pid 1019:tid
    140681779472128] [client **ip_address**:16586] AH01071: Got error 'PHP message:
    Press [Enter] to continue:
    PHP Fatal error: Uncaught Error: Call to undefined function create_function() in
    /bitnami/wordpress/wp-content/themes/hello-elementor/functions.php:10
    Stack trace:
    #0 /opt/bitnami/wordpress/wp-settings.php(566): include()
    #1 /bitnami/wordpress/wp-config.php(190): require_once('...')
    #2 /opt/bitnami/wordpress/wp-load.php(50): require_once('...')

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter mcubes

    (@mcubes)

    hi sir, is there ay update on the same

    H? @mcubes
    Do you have a modified theme on your site? In our theme, I don’t see any code at function.php line 10.

    Yakir

    Thread Starter mcubes

    (@mcubes)

    no sir theres no mofified theme, i use the regular theme and suddenly this error come
    i couldn’t able to add new themes right now

    Thread Starter mcubes

    (@mcubes)

    Uncaught Error: Call to undefined function hello_elementor_body_open() in /bitnami/wordpress/wp-content/themes/hello-elementor/header.php:25
    Stack trace:
    #0 /opt/bitnami/wordpress/wp-includes/template.php(770): require_once()
    #1 /opt/bitnami/wordpress/wp-includes/template.php(716): load_template()
    #2 /opt/bitnami/wordpress/wp-includes/general-template.php(48): locate_template()
    #3 /bitnami/wordpress/wp-content/themes/hello-elementor/index.php(15): get_header()
    #4 /opt/bitnami/wordpress/wp-includes/template-loader.php(106): include(‘…’)
    #5 /opt/bitnami/wordpress/wp-blog-header.php(19): require_once(‘…’)
    #6 /opt/bitnami/wordpress/index.php(17): require(‘…’)
    #7 {main}
    thrown

    i removed the file functions.php using sudo rm /folder-path and site works as usual but the now the issue is that home and other pages comes in white screen

    Theme Author Elementor

    (@elemntor)

    You do not need to remove this file. Can you re-install the theme from the WP repo?

    Thread Starter mcubes

    (@mcubes)

    sir, issue it now resolved. I removed the hello elementor theme and
    reinstalled it. It caused by a file functions.php that added to the theme which makes
    these issues. Issue has been resolved by deleting it and adding the fresh theme
    file

    Thread Starter mcubes

    (@mcubes)

    its now solved

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Showing a critical error on my webisite’ is closed to new replies.