Activation Fatal Error
-
I have WooCommerce version 8.0.3, WP 6.3.1.
When I tried to install plugin, i got:Uncaught Error: Class 'VIJAGIF_WOO_FREE_GIFT_DATA' not found in /var/www/html/xxx/wp-content/plugins/jagif-woo-free-gift/jagif-woo-free-gift.php:110
I added this line of code into jagif-woo-free-gift.php:
require_once(plugin_dir_path(__FILE__) . 'includes/data.php');
just after this:
if ( ! defined( 'ABSPATH' ) ) { exit; } define( 'VIJAGIF_WOO_FREE_GIFT_VERSION', '1.1.0' ); include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
And after this, I easily activated it. I hope you will update it in the next iteration of the code.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Activation Fatal Error’ is closed to new replies.