Support » Plugin: NutritionWP » Dropdowns don’t work

  • Resolved Steve

    (@steveatty)


    Serving Type is a drop down with no options

    Why does serving size start at 0.01?

Viewing 6 replies - 1 through 6 (of 6 total)
  • It looks like it might be a problem with networked blog mode – I can get this plugin working on a single site install but not on multisite

    Debug shows:

    [08-Oct-2017 21:04:17 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 475
    [08-Oct-2017 21:04:17 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 567
    [08-Oct-2017 21:04:17 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 475
    [08-Oct-2017 21:04:17 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 567
    [08-Oct-2017 21:04:18 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 475
    [08-Oct-2017 21:04:18 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 567
    [08-Oct-2017 21:04:34 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 475
    [08-Oct-2017 21:04:34 UTC] PHP Notice:  Undefined variable: this in /webstuff/blogs/wp-content/plugins/nutritionwp/admin/class-nutritionwp-admin.php on line 56
    7
    • This reply was modified 2 years, 1 month ago by  Steve.
    • This reply was modified 2 years, 1 month ago by  Steve.
    Plugin Author Rescue Themes

    (@rescuethemes)

    Steve,

    If you can, I’d like to take a look at your installation to determine the problem.
    Please send me a request at https://rescuethemes.com/basic-support-request/

    Thank you

    Plugin Author Rescue Themes

    (@rescuethemes)

    Steve,

    I know what it is now. The drop down is not working on older versions of php. If you run php7 (which is way faster than php5x) it works great. I will see what I can do to support php5.x

    The serving size can be any decimal. You can just type it in. Web browsers will start with the first decimal (0.1) if you are clicking on the up/down arrows that some browsers use.

    I was thinking last night that it might be PHP versions. My test/dev site on my laptop is PHP7 but the main live server is 5.5.9 which I can’t upgrade at the moment due to some other dependencies on.

    Its almost as if the construct in the private class isn’t properly setting things up, even though $this seems to work in other parts of the class.

    Plugin Author Rescue Themes

    (@rescuethemes)

    Yes, I just uploaded 1.0.7 which resolves the issue.
    Thank you for letting me know!

    I can confirm that it now works

    Thanks for fixing it so quickly

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dropdowns don’t work’ is closed to new replies.