• Resolved manutoo

    (@manutoo)


    Hello,

    I’m trying to update to v5.2 and I get the following error message :
    “Plugin could not be activated because it triggered a fatal error.”
    I turned on the Debug info in wp-config.php but no additional error message was displayed (only a notice about another pluging that didn’t stop my other plugins to update normally).

    Anyone would have any idea what to try now ?

    Thanks in advance for your help !

    https://www.ads-software.com/plugins/yop-poll/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Please contact us at yop.help{at}gmail.com as we will need more info on your server configuration to debug this.

    Thank you.
    YOP Team

    Thread Starter manutoo

    (@manutoo)

    Hello,
    I have sent an email to your email with the detail of my server. If it’s not in your inbox, then it’s in your spam box… ??

    Thread Starter manutoo

    (@manutoo)

    I just installed v5.6 .
    This time, I got this error message on activation :

    PHP Fatal error: Invalid opcode 153/1/8. in /wp-content/plugins/yop-poll/inc/plugin-functions.php on line 1050, referer: /wp-admin/plugins.php?error=true&plugin=yop-poll%2Fyop_poll.php&_error_nonce=5fda64fc1a

    So I checked that file, and change this :

    function widgets_init(){
        add_action( 'widgets_init', function () {
        return widget_init();
    } );
    }

    to that :

    function My_widget_init() { return widget_init(); }
    
    function widgets_init(){
        add_action( 'widgets_init',  'My_widget_init');
    }

    and now it works !

    I use latest version of eAccelerator, if it matters.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin could not be activated because it triggered a fatal error.’ is closed to new replies.