Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31576

3Lancer on "[Plugin: IM8 qTranslate WooCommerce] Version 1.5 fails reactivation (fatal error)"

$
0
0

Warning for those with older PHP versions attempting to upgrade this plugin to version 1.5, it might be disabled!

The following message is displayed:

Plugin could not be activated because it triggered a fatal error.

Warning: require_once(__DIR__/inc/IM8qTranslateWooCommerce.php) [function.require-once]: failed to open stream: No such file or directory in .../wp-content/plugins/im8-qtranslate-woocommerce/im8-qtranslate-woocommerce.php on line 18

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/inc/IM8qTranslateWooCommerce.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in .../wp-content/plugins/im8-qtranslate-woocommerce/im8-qtranslate-woocommerce.php on line 18

It appears you need PHP 5.3 to use (__DIR__) directory manipulation.

I'm using PHP Version: 5.2.17 on my DEV Server for testing. This could cause major issues for those with older versions of PHP on their host server, so it is advice to check your PHP version before the update or adjust accordingly.

On previous versions you may use dirname(__FILE__) instead.

https://wordpress.org/plugins/im8-qtranslate-woocommerce/


Viewing all articles
Browse latest Browse all 31576

Trending Articles