• Resolved DocCohn

    (@doccohn)


    Getting several of these errors on my linux server. Running current plugin.

    [02-Feb-2019 15:25:09 UTC] PHP Warning: A non-numeric value encountered in /home/peakspo/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 2830

    Patrick

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Based on that line of code (2830), it looks like you’re putting in non-numeric values for your prices. I had a look at your page and you have brackets and an extra dollar sign in your prices. This will stop the querying of the min and max price, which is used for various functions.

    Please make sure you only use numeric values in your price fields.

    Thread Starter DocCohn

    (@doccohn)

    Thank you for the details. Can I use one dollar $ sign? And I want to display the book and digital price.

    Thread Starter DocCohn

    (@doccohn)

    Made the changes you suggested. Still getting errors in error_log:

    [04-Feb-2019 21:38:55 UTC] PHP Warning: A non-numeric value encountered in /home/peakspo/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 2809
    [04-Feb-2019 21:38:55 UTC] PHP Warning: A non-numeric value encountered in /home/peakspo/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 2830
    [04-Feb-2019 21:38:55 UTC] PHP Warning: A non-numeric value encountered in /home/peakspo/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 2809
    [04-Feb-2019 21:38:55 UTC] PHP Warning: A non-numeric value encountered in /home/peakspo/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 2830
    [04-Feb-2019 21:38:55 UTC] PHP Warning: A non-numeric value encountered in /home/peakspo/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 2809
    [04-Feb-2019 21:38:55 UTC] PHP Warning: A non-numeric value encountered in /home/peakspo/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Shortcodes.php on line 2830

    Hi doccohn,

    It seems that the dollar sign is still being added to the price value, we recommend entering just the price in the “Price” field without any dollar sign. You can then enter the currency symbol you need by navigating to the “Basic” area of the “Options” tab for the option “Currency Symbol”.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shortcode Error at Server Level’ is closed to new replies.