• Resolved Jonas

    (@760dev)


    Hello

    I am developing a theme locally (MAMP). PHP Version is 7.2.8. WordPress version 5.0.3

    I have installed the plugin and activated it. I created a page called ‘recipes’. I implemented the shortcode [cooked-browse] onto the page and published it.

    When I view the page, a series of errors appear. They all begin with

    Notice: Undefined index: ‘_cp_recipe_’

    The error messages vary. for example:

    Notice: Undefined index: _cp_recipe_excerpt in (Path To File)
    Notice: Undefined index: _cp_recipe_additional_notes in (Path To File)

    Upon further investigation, I noticed the errors seem to be referencing the block of php in class.cooked-recipes.php which has this comment:

    // Sync up the Cooked 2.x Classic recipe meta fields to the new Cooked 3.x meta fields

    Would you kindly help me troubleshoot?

    Thank you

The topic ‘Undefined index error class.cooked-recipes.php’ is closed to new replies.