Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jamel.Z

    (@lebleut)

    Hi Arathra
    My site runs over WordPress 4.2 and everything works as expected !
    please check your PHP version

    Thread Starter arathra

    (@arathra)

    I’m using

    Apache Version 2.2.26
    PHP Version 5.3.28
    MySQL Version 5.1.73-cll

    I tried uninstalling and re-installing but no joy. This is a recently transferred site I’m getting working on a new domain. Might that have something to do with it?

    Thread Starter arathra

    (@arathra)

    A little more digging it seems it’s something to do with not supporting anonymous functions. The key bit of code is:

    add_action('admin_menu',function(){
    	add_management_page(
    		__('KeyWords Tooltip Generator Converter','bluet-kw'),
    		__('KTTG Converter','bluet-kw'),
    		'manage_options',
    		'my_keywords_settings_importer',
    		'bluet_kw_render_importer_page'
    	);
    });

    But I’ve only a very slight idea on how to turn that into a non-anonymous function with create_function()

    Can you suggest a fix here? This is one of our site’s key plugins!

    Plugin Author Jamel.Z

    (@lebleut)

    Hi again

    PHP supports anonymous functions from version 5.3
    to fix and to work without the importer.php file
    turn the line 6 as a comment on the settings-page.php file:

    require_once dirname( __FILE__ ) . '/importer.php';

    add ‘//’ in the beginning of the line :

    //require_once dirname( __FILE__ ) . '/importer.php';

    I hope this helps ??

    Thread Starter arathra

    (@arathra)

    Thanks – I tried this but it threw another Invalid opcode 153/1/8 error.

    In the end I had to disable eaccelorator for the site (using htaccess) and now it has installed and works fine.

    I guess I’ll need to update my php sooner or later which hopefully will allow eaccellorater without these errors.

    Thanks for your help – great plugin!

    Plugin Author Jamel.Z

    (@lebleut)

    ok great
    thanks for appreciating my plugin ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error – wp 4.2’ is closed to new replies.