• Resolved parkic

    (@parkic)


    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.

    • This topic was modified 1 year, 6 months ago by parkic.
Viewing 1 replies (of 1 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.

    Please update the plugin to the latest version and check again.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Activation Fatal Error’ is closed to new replies.