Home Forums Plugin Support WP User Frontend Pro Fatal error when another plugin is in plugins directory

This topic is: resolved

This topic contains 6 replies, has 4 voices, and was last updated by  Nayem 3 years, 10 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #53819

    Chris Swede
    Member
    Post count: 56

    Hi,

    When I try to extract another plugin called Easy Social Share Buttons in the wp-content/plugins folder WPUF causes a fatal error on the plugins page in WP-Admin: mysite.com/wp-admin/plugins.php.

    When I deactivate WPUF first, this error does not happen. The error doesn't display when Easy Social Share directory is not present in the plugins folder either.

    Fatal error: Cannot use object of type stdClass as array in /home/xxxxxxx/public_html/wp-content/plugins/wp-user-frontend-pro/wpuf.php on line 396

    WPUF version is 2.3.3, the same error with 2.3.2, but 2.2.7 works fine with Easy Social Share Buttons

    #53828

    Yves
    Participant
    Post count: 23

    I can confirm this happened to me too with WPUF Pro version 2.3.2 and I had to comment out this line:
    // unset( $plugins->active[ array_search( $basename, $plugins->active ) ] );

    I think this plugin needs some testers for quality checks before going public.
    I am not in a hurry to upgrade to 2.3.3

    #53895

    Nayem
    Moderator
    Post count: 6480

    Hello,

    We did not get this kind of error from v2.3.3. You can update to the latest version as well. I think that error was coming from plugin conflict.

    Thanks.

    #53961

    Chris Swede
    Member
    Post count: 56

    Thanks Nayem and Yves

    The problem was caused by debug mode set to true in wp-config.php.

    define('WP_DEBUG', true);

    I had to add the following in order to get things working without any errors:

    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    
    // Disable display of errors and warnings 
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors',0);

    The aforementioned plugin was also updated today, but I don't believe there was a plugin conflict in my case.

    #54664

    Moshe
    Member
    Post count: 1

    I can't access my plugins page (so I can't even update it) because of that error. I added what Chris Swede added and now it's not showing me an error but it's just blank.

    Help ASAP thank you.

    #54713

    Nayem
    Moderator
    Post count: 6480

    Hello,

    Please deactivate all of your plugins and then install Wp user fronted pro.

    Thanks.

    #54741

    Nayem
    Moderator
    Post count: 6480

    Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

    Thank you ๐Ÿ™‚

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Fatal error when another plugin is in plugins directory’ is closed to new replies.