Receiving php error output from within plugin directory

Hot WordPress Themes Support Forum WordPress Themes Model Agency Receiving php error output from within plugin directory

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9140
    Henning Geiler
    Participant

    Hello,

    Here is the message I received from the php console concerning the Hot Model Agency plugin on my WordPress 5.2.1 installation:

    Notice: Undefined index: ImageFolder in /var/www/vhosts/syd2.sarahashley.net.au/htdocs/wp-content/plugins/hot-gallery/hot_gallery.php on line 91

    Notice: Undefined index: ImageFolder in /var/www/vhosts/syd2.sarahashley.net.au/htdocs/wp-content/plugins/hot_effects_rotator/hot_effects_rotator.php on line 89

    #9142
    milos
    Moderator

    Hello,

    These are just notices, not errors and they are displayed because your server is set to display all PHP messages. You can fix them if you edit file hot_gallery.php and around line 91 change this:

    if(!$options['ImageFolder'])continue;

    with this:

    if(isset($options['ImageFolder'])) {
    	if(!$options['ImageFolder'])continue;
    }

    and in file around line 88 change this:

    if(!$options['ImageFolder'])continue;

    with this:

    if(isset($options['ImageFolder'])) {
    	if(!$options['ImageFolder'])continue;
    }

    Also, we will upload updated theme files soon, so you can reinstall the theme if that’s easier for you.

    Thanks,
    Milos

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