Viewing 1 replies (of 1 total)
  • Hi crbarnett,

    First thing: these are notices, not errors. In that respect you do not need to worry too much, but you do need to disable the public display of these notices. In fact it’s better to hide errors too and only let them land in the error logs which should not be publicly visible. This is a general security tip 😉

    You should be able to disable public display of notices and errors in PHP and it can be done on different ‘levels’. Start with finding out why it is actually turned on, because the default should be off. You can find many tutorials on the internet about this.

    Next, to the actual cause of these warnings…

    I’m not sure how/why you are getting the notice about “fancybox” but it does not look like you are using the Easy FancyBox plugin tu which this part of the support forum belongs. The FancyBox version you are using is integrated into your theme. And I’m seeing other notices too, related to your theme.

    In the browser script console I get the message:

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors.

    In the source code I see some images with a similar “undefined” notice in the alt attribute. Like for example:

    <img src="http://gold.shockingcreations.com/wp-content/uploads/elements-of-style-150x239.jpg" alt="<br />
    <b>Notice</b>:  Undefined variable: alt in <b>/var/www/vhosts/gold.shockingcreations.com/httpdocs/wp-content/themes/nebula-child/single-presenters.php</b> on line <b>218</b><br />
    " width="150" height="239" />

    You’ll need to take this up with your theme developer(s) 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index: fancybox in class.wp-scripts.php on line 185’ is closed to new replies.