• Resolved Jeroen Maathuis

    (@joennuh)


    After installing version 1.3.18 today I got this error on top of the plugins overview page at the WordPress dashboard:
    constant YITH_WCBR_SLUG - assumed 'YITH_WCBR_SLUG' (this will throw an Error in a future version of PHP) in /path/to/wordpress/wp-content/plugins/yith-woocommerce-brands-add-on/includes/class.yith-wcbr-admin.php on line 326
    Note: I replaced the beginning of the path to the WordPress installation with “/path/to/wordpress” to mask the real path on my server.

    The line number refers to this part of the code:

    
    public function action_links( $links ) {
    			$links = yith_add_action_links( $links, 'yith_wcbr_panel', defined( 'YITH_WCBR_PREMIUM_INIT' ), YITH_WCBR_SLUG );
    
    			return $links;
    		}
    

    Can this be fixed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    hope you are doing well ??

    We will release a new update today to fix this problem.

    Let us know any news, please.

    Have a nice day!

    Thread Starter Jeroen Maathuis

    (@joennuh)

    I can confirm the update fixed the issue. ????

    Plugin Author YITHEMES

    (@yithemes)

    Hello there.

    Perfect.

    We’ll set this topic on solved.

    If you have any other problems, don’t hesitate to open a new one.

    Have a good day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrect usage constant YITH_WCBR_SLUG in class.yith-wcbr-admin.php in v1.3.18’ is closed to new replies.