Support » Plugin: WP Config File Editor » Fatal Error During Activation, Declaration of WPPFW\…\definePrototypes()

  • Resolved MedSparkLLC

    (@medsparkllc)


    I get the following error when trying to activate version 1.6.3 of the plugin:

    Fatal error: Declaration of WPPFW\Plugin\Config\XML\PluginConfigDocument::definePrototypes() must be compatible with that of WPPFW\HDT\HDTDocument::definePrototypes() in /…/wp-content/plugins/wp-config-file-editor/vendor/xptrdev/WPPluginFramework/Include/Plugin/Config/XML/Document.class.php on line 14

    I’m running WordPress 4.6.1 with PHP 5.3.3 on an Apache 2.2.15 server.

    Can you direct me on how to fix this so I can activate the plugin successfully?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Code Machine

    (@xpointer)

    Hello,

    I just get this issue fixed, however I didn’t primie new release.

    So please delete the Plugin and install it again from WordPress repository — not from a local copy you have

    Let me know if you still have problem runing the Plugin

    Thanks
    AHMeD

    Thread Starter MedSparkLLC

    (@medsparkllc)

    Thanks Ahmed.

    I deleted the plugin and then installed it again from the WordPress repository. I still get a fatal error when I try to activate it, but the error is different than last time:

    Fatal error: Declaration of WPPFW\Obj\Factory::create() must be compatible with that of WPPFW\Obj\IFactory::create() in /…/wp-content/plugins/wp-config-file-editor/vendor/xptrdev/WPPluginFramework/Include/Obj/Factory.class.php on line 11

    Plugin Author Code Machine

    (@xpointer)

    Thank you!

    I expected that !

    Seems that your PHP configuration has E_STRICT Flag set so it complains for few incompatible code that i don’t get in my side.

    Now, I’m simulate the same configuration you’ve to get the same errors in my PC

    I will let you know once get it fixed

    Regards,
    AHMeD

    Plugin Author Code Machine

    (@xpointer)

    Hello,

    I just released version 1.6.5 with this issue fixed

    Please let me know if you still have issues.

    Thanks
    AHMeD

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error During Activation, Declaration of WPPFW\…\definePrototypes()’ is closed to new replies.