• Resolved ninnav

    (@ninnav)


    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 6 years, 10 months ago by ninnav.
    • This topic was modified 6 years, 10 months ago by ninnav.
    • This topic was modified 6 years, 10 months ago by ninnav.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Boxy Studio

    (@boxystudio)

    Where are you seeing these errors exactly? Any chance you can send your URL to me maybe with some screenshots via email?

    Thread Starter ninnav

    (@ninnav)

    On all pages a white page with error code HTTP ERROR 500.

    Plugin Author Boxy Studio

    (@boxystudio)

    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.www.ads-software.com/WP_DEBUG

    Thread Starter ninnav

    (@ninnav)

    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 6 years, 10 months ago by ninnav.
    Plugin Author Boxy Studio

    (@boxystudio)

    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 if you’d like.

    Thread Starter ninnav

    (@ninnav)

    Where would you get a version 1.3.03?

    Plugin Author Boxy Studio

    (@boxystudio)

    You can get previous version from the bottom of this page:

    https://www.ads-software.com/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

    (@ninnav)

    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

    (@ninnav)

    Version 1.4.0.2 does not work. Version 1.3.04 also stopped working. I checked for plugin compatibility. There is no error.

    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.