Support » Plugin: WP ULike » Undefined variable: custom_css and suggestion

  • Resolved denzillka

    (@denzillka)



    If “custom_style” parameter not enabled function “wp_ulike_get_custom_style” in “wp-content/plugins/wp-ulike/inc/wp-functions.php” not check variable $custom_css and produce notice:
    Notice: Undefined variable: custom_css in wp-content/plugins/wp-ulike/inc/wp-functions.php on line 904

    may be you might need to change string 904
    from “if($custom_css != ”){”
    to “if(isset ($custom_css) && $custom_css != ”){” ?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.