Support » Plugin: Product Catalog » Undefined variable errors

  • Hello,
    I have noticed numerous undefined variable errors coming from this plugin in my server’s logs. I am using the one week trial of the premium version right now. Here are the most common errors (paths shortened):
    In the plugin settings:
    On the catalogue page:
    Notice: Undefined variable: CatProdCount in /plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 438
    Notice: Undefined variable: Num_Pages in /plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 599

    Server details:
    PHP 7.0.30
    WordPress 4.9.6
    Product Catalog 4.3.11

    If I can provide any additional details to help get these fixed, please let me know.

Viewing 1 replies (of 1 total)
  • Plugin Contributor EtoileWebDesign


    Hi rslance,

    Thanks for letting us know about these. We’ll look to eliminate them in a future release. In the meantime, once you go live and disable debug mode, it will work correctly and won’t display those notices.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined variable errors’ is closed to new replies.