• Hello,

    When the main product page is displayed, I get following Javascript errors related to jquery fancybox. I have not yet added any images to products (and I may not).

    TypeError: 'undefined' is not a function (evaluating 'jQuery("a.fancybox").fancybox')
    https://mydomain.com/wp-content/plugins/ultimate-product-catalogue/js/upcp-jquery-functions.js?ver=4.0.1 line 398

    And, when I turn the WB_DEBUG variable to true, I get LOTS of PHP notices. I paste some of them here. I you are interested, I can send or paste all the notices.

    Looks like the script needs some if(isset) clauses for variables, indexes and offsets.

    [12-Dec-2014 20:54:36] PHP Notice:  Undefined index:  SingleProduct in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 72
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined variable: layout_format in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 125
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined variable: layout_format in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 125
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined variable: ProdThumbString in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 136
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined variable: ProdListString in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 141
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined variable: ProdDetailString in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 146
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined variable: HeaderBar in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 219
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined offset:  1 in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 466
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined offset:  1 in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 467
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined offset:  1 in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 476
    [12-Dec-2014 20:54:36] PHP Notice:  Undefined variable: ProductString in /home/mysite/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 480

    https://www.ads-software.com/plugins/ultimate-product-catalogue/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi guvenck,

    If there are other notices that you get, posting them would definitely be appreciated.

    Thread Starter guvenck

    (@guvenck)

    Hello again,

    I can’t paste my full log here. It somehow takes me to wordpress support page after submitting the form.

    I have emailed it to you instead. Please check your email.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript error and lots of PHP notices’ is closed to new replies.