🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

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. When opening his website, it displayed „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 with the wp_doing_ajax() function file. The wp_doing_ajax() function is a new function added after WordPress 4.7, and it happens that this netizen is using an older version of WordPress. Relevant information can be referred to in the official documentation:https://developer.wordpress.org/reference/functions/wp_doing_ajax/wp_doing_ajax() is used to determine whether the current request is an Ajax request. If it is a WordPress Ajax request, it returns true; otherwise, it returns 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 message, it is quite clear that the problem lies on line 45 of siteorigin-panels/siteorigin-panels.php. The issue is the plugin's compatibility. To solve the problem is simple: use an FTP tool to go to the website server and delete the siteorigin-panels folder. If you still want to use this plugin, you need to first upgrade WordPress to a newer version and then reinstall it. If you cannot upgrade, you need to check whether your server environment meets the hardware requirements for the new version of WordPress.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

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

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