Support » Plugin: WP Branding » PHP Notice when logo is used

  • Resolved Baden

    (@baden03)


    Nice, simple plugin. Thank you.
    One thing I noticed when debug mode is on, i am getting the following error on the options page when a logo is being used:

    Notice: Undefined variable: options_page in /var/www/vhosts/xxx.com/subdomains/yyy/wp-content/plugins/wp-branding/wpbranding-options.php on line 2

    http://wordpress.org/extend/plugins/wp-branding/

Viewing 1 replies (of 1 total)
  • Fixed this by adding:

    global $options_page;

    before calling:

    $location = $options_page; // Form Action URI

    in wpbranding-options.php

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice when logo is used’ is closed to new replies.