Title: HTTP ERROR 500:
Last modified: January 8, 2018

---

# HTTP ERROR 500:

 *  Resolved [ninnav](https://wordpress.org/support/users/ninnav/)
 * (@ninnav)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/)
 * After update 1.3.04, the plugin started to cause HTTP ERROR 500 error. If you
   delete the plugin the Cooked error disappears. (FREE FEATURES). Update 1.3.05.
   The error is not corrected.
    -  This topic was modified 8 years, 5 months ago by [ninnav](https://wordpress.org/support/users/ninnav/).
    -  This topic was modified 8 years, 5 months ago by [ninnav](https://wordpress.org/support/users/ninnav/).
    -  This topic was modified 8 years, 5 months ago by [ninnav](https://wordpress.org/support/users/ninnav/).

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

 *  Plugin Contributor [Boxy Studio](https://wordpress.org/support/users/boxystudio/)
 * (@boxystudio)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9843949)
 * Where are you seeing these errors exactly? Any chance you can send your URL to
   me maybe with some screenshots [via email](https://wordpress.org/support/topic/http-error-500-81/support@cooked.pro?output_format=md)?
 *  Thread Starter [ninnav](https://wordpress.org/support/users/ninnav/)
 * (@ninnav)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9844029)
 * On all pages a white page with error code HTTP ERROR 500.
 *  Plugin Contributor [Boxy Studio](https://wordpress.org/support/users/boxystudio/)
 * (@boxystudio)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9844233)
 * Okay, what would help here is for you to enable WP_DEBUG. Usually with errors
   like this there’s a PHP error happening on the page. Can you enable that and 
   let me know what you see?
 * [https://codex.wordpress.org/WP_DEBUG](https://codex.wordpress.org/WP_DEBUG)
 *  Thread Starter [ninnav](https://wordpress.org/support/users/ninnav/)
 * (@ninnav)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9844912)
 * Notice: add_option was called with an argument that is deprecated since version
   2.3.0 with no alternative available. in wp-includes/functions.php on line 4033
 * `trigger_error( sprintf( __('%1$s was called with an argument that is <strong
   >deprecated</strong> since version %2$s with no alternative available.'), $function,
   $version ) );`
 * Fatal error: Call to a member function get() on null in wp-includes/query.php
   on line 28
 * `return $wp_query->get( $var, $default );`
    -  This reply was modified 8 years, 5 months ago by [ninnav](https://wordpress.org/support/users/ninnav/).
 *  Plugin Contributor [Boxy Studio](https://wordpress.org/support/users/boxystudio/)
 * (@boxystudio)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9844975)
 * Hmmm, okay. This is something that I cannot troubleshoot for you. I would suggest
   reaching out to a developer to look into this error, or I’m happy to help [via email](https://wordpress.org/support/topic/http-error-500-81/support@cooked.pro?output_format=md)
   if you’d like.
 *  Thread Starter [ninnav](https://wordpress.org/support/users/ninnav/)
 * (@ninnav)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9845126)
 * Where would you get a version 1.3.03?
 *  Plugin Contributor [Boxy Studio](https://wordpress.org/support/users/boxystudio/)
 * (@boxystudio)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9845223)
 * You can get previous version from the bottom of this page:
 * [https://wordpress.org/plugins/cooked/advanced/](https://wordpress.org/plugins/cooked/advanced/)
 * However I would really like to find out what’s wrong so you don’t need to keep
   using an older (possibly buggy) version of the plugin. Can you email me?
 *  Thread Starter [ninnav](https://wordpress.org/support/users/ninnav/)
 * (@ninnav)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9944696)
 * The plugin causes a fatal error:
 * [06-Feb-2018 19:10:12 UTC] PHP Fatal error: Call to a member function get() on
   null in /wp-includes/query.php on line 28 (return $wp_query->get( $var, $default);
 * `function get_query_var( $var, $default = ” ) {
    global $wp_query; return $wp_query-
   >get( $var, $default ); }
 *  Thread Starter [ninnav](https://wordpress.org/support/users/ninnav/)
 * (@ninnav)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9944741)
 * Version 1.4.0.2 does not work. Version 1.3.04 also stopped working. I checked
   for plugin compatibility. There is no error.
 *  [Sandra](https://wordpress.org/support/users/foodcat/)
 * (@foodcat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9951246)
 * Hi,
 * I had the same problem. It was caused by another plugin causing conflicts, check
   your stacktrace maybe you will see some other plugin causing this error too.
   
   In my case it was the Anual Archive widget:
 *     ```
       08.02.2018 09:16:09 servername [client  ] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in wp-includes/query.php:28
       08.02.2018 09:16:09 servername [client  ] Stack trace:
       08.02.2018 09:16:09 servername [client  ] #0 wp-content/plugins/anual-archive/annual_archive.php(771): get_query_var('decade')
       08.02.2018 09:16:09 servername [client  ] #1 wp-includes/class-wp-hook.php(286): annual_archive_decade_filter(Object(WP_Query))
       08.02.2018 09:16:09 servername [client  ] #2 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
       08.02.2018 09:16:09 servername [client  ] #3 wp-includes/plugin.php(515): WP_Hook->do_action(Array)
       08.02.2018 09:16:09 servername [client  ] #4 wp-includes/class-wp-query.php(1634): do_action_ref_array('pre_get_posts', Array)
       08.02.2018 09:16:09 servername [client  ] #5 wp-includes/class-wp-query.php(3222): WP_Query->get_posts()
       08.02.2018 09:16:09 servername [client  ] #6 wp-includes/class-wp-query.php(3328): WP_Query->query(Array)
       08.02.2018 09:16:09 servername [client  ] #7 wp-content/plugins/cooked/includes/class.cooked-recipes.php(100): WP_Query->_ in wp-includes/query.php on line 28
       ```
   
 * Maybe Boxy Studio can build in a try catch function to be save against bad plugins
   😉

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

The topic ‘HTTP ERROR 500:’ is closed to new replies.

 * ![](https://ps.w.org/cooked/assets/icon-256x256.png?rev=2005204)
 * [Cooked - Recipe Management](https://wordpress.org/plugins/cooked/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cooked/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cooked/)
 * [Active Topics](https://wordpress.org/support/plugin/cooked/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cooked/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cooked/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [Sandra](https://wordpress.org/support/users/foodcat/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/http-error-500-81/#post-9951246)
 * Status: resolved