Home Experience & Tips Sharing Standard Post

Standard Post

What to do if the website reports a Fatal error after installing SiteOrigin Page Builder

Today, a netizen told Naiba that his WordPress website could not be opened and asked for help. Opening his website showed the error: „Fatal error: Call to undefined function wp_doing_ajax() in /home/vgr8rn8v8/wwwroot/wp-...“

Updated on November 1, 2019 About 3 minutes reading
安装SiteOrigin Page Builder后网站报Fatal error错误怎么办

Today, a netizen told Naiba that his WordPress website could not be opened and asked for help.

Opening his website prompts „Fatal error: Call to undefined function wp_doing_ajax() in /home/vgr8rn8v8/wwwroot/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 45"

Cause of the problem

From the error cause, the problem lies in the wp_doing_ajax() function file.

The wp_doing_ajax() function is a new function added after WordPress 4.7, and this user happens to be using an older version of WordPress.

For related information, refer to the official documentation:https://developer.wordpress.org/reference/functions/wp_doing_ajax/

wp_doing_ajax()

Used to determine whether the current request is an Ajax request. If it is a WordPress Ajax request, it returns true; otherwise, false.

function wp_doing_ajax() {
    /**
     * Filters whether the current request is a WordPress Ajax request.
     *
     * @since 4.7.0
     *
     * @param bool $wp_doing_ajax Whether the current request is a WordPress Ajax request.
     */
    return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX );
}

Solution

From the error prompt, it is clear that the problem lies in line 45 of siteorigin-panels/siteorigin-panels.php. The issue is plugin compatibility.

To solve the problem simply, use an FTP tool to delete the siteorigin-panels folder on the web server.

If you still want to use this plugin, you need to upgrade WordPress to a new version first, then reinstall it. If you cannot upgrade, you need to check whether your server environment meets the hardware requirements of the new WordPress version.WordPress Configuration Requirements Hardware Conditions Needed to Install WordPress

Other situations

Sometimes, the website not opening may not be due to plugin issues. Naiba previously shared the Ultimate Troubleshooting Guide for WordPress Website 503 Error, which interested readers can refer to.

Ultimate Troubleshooting Guide for WordPress Website 503 Error

Rate this article post
Previous Method and Steps to Enable Memcached Acceleration on SiteGround Continue reading content around the same timeline. Next What are the relationships and differences between cloud shared hosting, VPS, and Baota Panel View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: