Hi Arathra
My site runs over WordPress 4.2 and everything works as expected !
please check your PHP version
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?
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!
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 😉
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!
ok great
thanks for appreciating my plugin 😉