• Hi,
    I’m using your plugin with WPML. When I create an option wordpress give me a fatal error: Uncaught Error: Class ‘YITH_WAPO_WPML’ not found in line 516 of class-yith-wapo.php file

    
    if ( self::$is_wpml_installed ) {
      YITH_WAPO_WPML::register_option_type( $settings['title'], $settings['description'], $data['options'] );
    }

    I added that class file in file init.php (require_once 'includes/class-yith-wapo-wpml.php') because It appears that the YITH_WAPO_WPML class is not defined.

    Is there another way to fix it without touching a plugin file?
    Thank you.

Viewing 1 replies (of 1 total)
  • Hello there,

    hope you are doing well! 🙂

    This problem has been already fixed in the plugin core.

    We have added require_once 'includes/class-yith-wapo-wpml.php'; in the init.php file.
    This fix will be available in the next plugin version, so, please, change it manually until the next version 😉

    Thanks for reporting it, really appreciate it.

    Have a great day!

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Error: Class ‘YITH_WAPO_WPML’ not found’ is closed to new replies.