• Resolved o2xav

    (@o2xav)


    Hello,

    I just installed the plugin,n and whenever i try to integrate the shortcode in an post content or in a template using the do_shortcode() function, i get these errors :

    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 696
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 696
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 711
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 711
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 711
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 711
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 711
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 826
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 832
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 838
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 844
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 850
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 856
    
    Notice: Undefined variable: custom_control in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 862

    If i disable debugging, i dont see the notice anymore, but nothing shows up. The space is taken, but it’s empty, only a FA cross icon.

    I’m using a custom built bootstrap 4 based theme, wp version 5.2.4, php 7.1, no fancy plugins appart from yoast, redirection and ACF.
    The site is preproduction hosted and not available online.

    What could be causing the issue ?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined variable undefined variable: custom_control’ is closed to new replies.