Close

Account

Documentation

Forum

Menu

RECIPE php warning

  • Post count: 28
    David Groh
    November 18, 2017 at 8:01 am #25626

    Hello friends.
    I would like to report this message : Warning: A non-numeric value encountered in /data/web/virtuals/174867/virtual/www/wp-content/plugins/jnews-food-recipe/class.jnews-food-recipe.php on line 385

    It is under the footer : see https://fitnie.cz/proteinova-babovka-1
    it is the recipe post. In normal post this mesaage is not present of course 🙂

    Thank you for your opinion

    ### THEME INFO ###

    Themes name : JNews
    Themes Version : 1.1.3
    Themes License : ✔

    ### WordPress Enviroment ###

    Home URL : https://fitnie.cz
    Site URL : https://fitnie.cz
    Login URL : https://fitnie.cz/wp-login.php
    WP Version : 4.9
    WP Multisite : –
    WP Debug Mode : Disabled
    PHP Memory Limit : 256 MB
    WP Memory Limit : 256 MB
    WP Language : cs_CZ
    WP Upload Directory : ✔

    ### Server Enviroment ###

    Server Info : Apache
    PHP Version : 7.1.5
    PHP Post Max Size : 128 MB
    PHP Time Limit : 90
    PHP Max Input Vars : 10000
    SUHOSIN Installed : –
    WP Remote Get : ✔
    PHP Image library installed : ✔
    CURL Installed : ✔

    ### Active Plugins ###

    Akismet Anti-Spam : by Automattic – 4.0.1
    JNews – Detail Category Customizer : by Jegtheme – 1.0.0
    JNews – Essential : by Jegtheme – 1.0.0
    JNews – Food Recipe : by Jegtheme – 1.0.1
    JNews – Frontend Translation : by Jegtheme – 1.0.2
    JNews – Gallery : by Jegtheme – 1.0.0
    JNews – JSON-LD : by Jegtheme – 1.0.0
    JNews – Like : by Jegtheme – 1.0.1
    JNews – Meta Header : by Jegtheme – 1.0.0
    JNews – Review : by Jegtheme – 1.0.0
    JNews – Social Share : by Jegtheme – 1.0.1
    JNews – Split : by Jegtheme – 1.0.0
    JNews – View Counter : by Jegtheme – 1.0.1
    Vafpress Post Formats UI : by vafpress – 1.5
    WP-Optimize : by David Anderson, Ruhani Rabin, Team Updraft – 2.1.1
    WPBakery Page Builder : by Michael M – WPBakery.com – 5.4.3
    WP Smush : by WPMU DEV – 2.7.6
    WP User Avatar : by flippercode – 2.0.9
    Yoast SEO : by Team Yoast – 5.8

    ### End ###

    Post count: 28
    David Groh
    November 19, 2017 at 9:20 am #25648

    The trouble is with the PHP 7.1.5. With the PHP 7.0.0 it works without the warning message. Can please check the full compatibility with PHP 7.1.0 + …

    Post count: 9149
    Adek
    November 20, 2017 at 1:53 am #25672

    Hi David,

    Thanks for your report. Please try to edit this file /wp-content/plugins/jnews-food-recipe/class.jnews-food-recipe.php then jump into line 385. Replace this code below:

    With this one below:

    Let me know if it’s work or not.

    Thank you

    Post count: 28
    David Groh
    November 20, 2017 at 6:54 am #25695

    It works… 🙂 you are the best. 🙂 Thank you 🙂

    Post count: 9149
    Adek
    November 21, 2017 at 12:39 am #25732

    You’re welcome David 😀

    Thank you

You must be logged in to reply to this topic.