How To Fix Wordpress Fatal Error Problem

How to fix wordpress fatal error problem

How to fix wordpress fatal error problem

Fatal Error (hide details) (remove)

The site encountered a problem that it cannot recover from. Please use the following information to try to resolve the problem.
Error Message

Fatal error: Cannot redeclare get_language_attributes() (previously declared in /home/mlp1/public_html/wp-includes/general-template.php:2807) in /home/mlp1/public_html/wp-content/plugins/wp-ban/wp-ban.php on line 239

Description

The Communities plugin code created an error that caused PHP execution to fail.

The code tried to run a function that doesn’t exist (get_active_blog_for_user()). This type of error is typically caused by a simple typo (is_hom() rather than is_home()), by calling a function provided by a plugin when that plugin is not activated, by calling a function before it is ready (such as calling a function before the code that creates it has run), or by using a function that no longer exists (the function may have been removed from WordPress core or the plugin/theme that previously supplied it).
Solutions : How to fix wordpress fatal error problem

Invalid code modifications can cause this problem. If you have made any modifications to the plugin, remove them and try to load the site again.
It is possible that this plugin’s code is out of date and that an upgrade is available. Check with the plugin’s author to see if an upgrade is available.
There may be a conflict with another plugin running on the site. Try upgrading the other plugins on the site. A plugin conflict can be ruled out by deactivating all the other active plugins on the site and checking to see if the error still occurs.
The Communities plugin may not have been fully uploaded. Uploading the plugin again could fix the issue. Important: If you do this, you will lose any modifications made to the plugin. See how to deactivate plugin manually.

Error Source Details
Type Plugin
Name Communities
Version 1.1.9.3
Author Paul Menard (Incsub)
Path /home/content/00/8415400/html/wp-content/plugins/communities
File communities-framework.php
Other Software Details
WordPress Version 3.5.1
PHP Version 5.3.21
Full Error Details
Type Fatal Error (E_ERROR)
Message Call to undefined function get_active_blog_for_user()
File /home/content/00/8415400/html/wp-content/plugins/communities/communities-framework.php
Line 576

Try inserting this in your index.php

error_reporting(0);
ini_set('display_errors', 0);

or this in .htaccess

# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0

I found an easier way, but thanks so much for all of your suggestions, I got to learn new stuff while trying out the suggestions.

In the end I went to my Cpanel-> php.ini QuickConfig -> under display errors, I simply selected the radio button ‘off’

And everything worked.

 

Type Description This type of error indicates that PHP cannot continue to run the code. Typical causes of this type of error are code bugs that have typos, missing or incomplete files (such as a file that was only partially uploaded), and the code using more memory than it is allowed.

If you can’t solve the issue. you can contact our Technical Team . Our technical team contact to with you next 30 minutes.

How to fix wordpress fatal error problem

wordpress fatal error, wordpress fatal error php, wordpress fatal error memory, wordpress fatal error upgrade,

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe
SUBSCRIBE NOW

Coupon : happynewyear

60% OFF

Stay updated with all latest updates,upcoming plugins & much more.
WordPress Themes
Search