WordPress.org

Ready to get started?Download WordPress

Forums

WP Branding
[resolved] PHP Notice when logo is used (2 posts)

  1. Baden
    Member
    Posted 1 year ago #

    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/

  2. Baden
    Member
    Posted 1 year ago #

    Fixed this by adding:

    global $options_page;

    before calling:

    $location = $options_page; // Form Action URI

    in wpbranding-options.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic