• Resolved Charles

    (@penthehuman)


    When looking at a non recipe page, the edamam_recipe_process_head function is invoked and tries to get a recipe from the database where a post ID doesn’t match a recipe. it should check if a resource exists first.

    The result is a LOT of these errors:
    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query SELECT * FROM wp_edamam_recipe_recipes WHERE post_id= made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/THEME_NAME/404.php'), get_header, locate_template, load_template, require_once('/themes/THEME_NAME/header.php'), wp_head, do_action('wp_head'), call_user_func_array, edamam_recipe_process_head, referer:

    https://wordpress.org/plugins/seo-nutrition-and-print-for-recipes-by-edamam/

Viewing 1 replies (of 1 total)
  • Plugin Author Edamam

    (@edamam)

    Thank you for your post. Unfortunately this is related to the Theme you are using not to the plugin itself.

Viewing 1 replies (of 1 total)
  • The topic ‘Checking all posts for recipe errors’ is closed to new replies.