• Resolved gerold1968

    (@gerold1968)


    Hi, sorry to say, but even after updating to v2.0.5 I still get a fatal error. Proved backing up things is a good thing ??

    Hope you can fix this soon, awsome plugin. Best Gerold

    • This topic was modified 1 year, 2 months ago by gerold1968.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @gerold1968 – Sorry to hear that. Is there any chance you can pull up all the error details from your php error logs? Without it that or a better idea of where the error occurred in our plugins files it might be difficult to solve it reliably & quickly.

    Thread Starter gerold1968

    (@gerold1968)

    Thanks for your quick reply ?? Here we go:

    2023-09-19T17:30:50+00:00 CRITICAL Uncaught Error: Call to a member function is_admin() on null in /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/compatibility.php:100 Stack trace: #0 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/developers.php(217): ContentControl\is_frontend() #1 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/classes/Controllers/Frontend/Restrictions/QueryPosts.php(45): ContentControl\protection_is_disabled() #2 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): ContentControl\Controllers\Frontend\Restrictions\QueryPosts->restrict_query_posts() #3 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(256): WP_Hook->apply_filters() #4 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-query.php(3511): apply_filters_ref_array() #5 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-query.php(3800): WP_Query->get_posts() #6 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/post.php(2441): WP_Query->query() #7 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-order-status-manager/src/wc-order-status-manager-functions.php(53): get_posts() #8 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-order-status-manager/class-wc-order-status-manager.php(259): wc_order_status_manager_get_order_status_posts() #9 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): WC_Order_Status_Manager->rename_core_order_status_labels() #10 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #11 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce/includes/wc-order-functions.php(106): apply_filters() #12 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-tweeter.php(82): wc_get_order_statuses() #13 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-scheduler.php(165): FUE_Addon_Twitter_Tweeter->get_order_statuses() #14 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): FUE_Addon_Twitter_Scheduler->hook_statuses() #15 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #16 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /var/www/vhosts/bettamberg.work/httpdocs/wp-settings.php(495): do_action() #18 /var/www/vhosts/bettamberg.work/httpdocs/wp-config.php(124): require_once(‘…’) #19 /var/www/vhosts/bettamberg.work/httpdocs/wp-load.php(50): require_once(‘…’) #20 /var/www/vhosts/bettamberg.work/httpdocs/wp-blog-header.php(13): require_once(‘…’) #21 /var/www/vhosts/bettamberg.work/httpdocs/index.php(17): require(‘…’) #22 {main} thrown in /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/compatibility.php in Zeile 100 2023-09-19T17:30:50+00:00 CRITICAL Uncaught Error: Call to a member function is_admin() on null in /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/compatibility.php:100 Stack trace: #0 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/developers.php(217): ContentControl\is_frontend() #1 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/classes/Controllers/Frontend/Restrictions/QueryPosts.php(45): ContentControl\protection_is_disabled() #2 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): ContentControl\Controllers\Frontend\Restrictions\QueryPosts->restrict_query_posts() #3 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(256): WP_Hook->apply_filters() #4 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-query.php(3511): apply_filters_ref_array() #5 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-query.php(3800): WP_Query->get_posts() #6 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/post.php(2441): WP_Query->query() #7 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-order-status-manager/src/wc-order-status-manager-functions.php(53): get_posts() #8 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-order-status-manager/class-wc-order-status-manager.php(259): wc_order_status_manager_get_order_status_posts() #9 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): WC_Order_Status_Manager->rename_core_order_status_labels() #10 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #11 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce/includes/wc-order-functions.php(106): apply_filters() #12 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-tweeter.php(82): wc_get_order_statuses() #13 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-scheduler.php(165): FUE_Addon_Twitter_Tweeter->get_order_statuses() #14 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): FUE_Addon_Twitter_Scheduler->hook_statuses() #15 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #16 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /var/www/vhosts/bettamberg.work/httpdocs/wp-settings.php(495): do_action() #18 /var/www/vhosts/bettamberg.work/httpdocs/wp-config.php(124): require_once(‘…’) #19 /var/www/vhosts/bettamberg.work/httpdocs/wp-load.php(50): require_once(‘…’) #20 /var/www/vhosts/bettamberg.work/httpdocs/wp-blog-header.php(13): require_once(‘…’) #21 /var/www/vhosts/bettamberg.work/httpdocs/index.php(17): require(‘…’) #22 {main} thrown in /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/compatibility.php in Zeile 100 2023-09-19T17:30:51+00:00 CRITICAL Uncaught Error: Call to a member function is_admin() on null in /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/compatibility.php:100 Stack trace: #0 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/developers.php(217): ContentControl\is_frontend() #1 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/classes/Controllers/Frontend/Restrictions/QueryPosts.php(45): ContentControl\protection_is_disabled() #2 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): ContentControl\Controllers\Frontend\Restrictions\QueryPosts->restrict_query_posts() #3 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(256): WP_Hook->apply_filters() #4 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-query.php(3511): apply_filters_ref_array() #5 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-query.php(3800): WP_Query->get_posts() #6 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/post.php(2441): WP_Query->query() #7 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-order-status-manager/src/wc-order-status-manager-functions.php(53): get_posts() #8 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-order-status-manager/class-wc-order-status-manager.php(259): wc_order_status_manager_get_order_status_posts() #9 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): WC_Order_Status_Manager->rename_core_order_status_labels() #10 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #11 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce/includes/wc-order-functions.php(106): apply_filters() #12 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-tweeter.php(82): wc_get_order_statuses() #13 /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-scheduler.php(165): FUE_Addon_Twitter_Tweeter->get_order_statuses() #14 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(310): FUE_Addon_Twitter_Scheduler->hook_statuses() #15 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #16 /var/www/vhosts/bettamberg.work/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /var/www/vhosts/bettamberg.work/httpdocs/wp-settings.php(495): do_action() #18 /var/www/vhosts/bettamberg.work/httpdocs/wp-config.php(124): require_once(‘…’) #19 /var/www/vhosts/bettamberg.work/httpdocs/wp-load.php(50): require_once(‘…’) #20 /var/www/vhosts/bettamberg.work/httpdocs/wp-blog-header.php(13): require_once(‘…’) #21 /var/www/vhosts/bettamberg.work/httpdocs/index.php(17): require(‘…’) #22 {main} thrown in /var/www/vhosts/bettamberg.work/httpdocs/wp-content/plugins/content-control/inc/functions/compatibility.php in Zeile 100

    Plugin Author Daniel Iser

    (@danieliser)

    @gerold1968 – Excellent. I’ll be working on this shortly. Will keep you posted.

    Plugin Author Daniel Iser

    (@danieliser)

    @gerold1968 Ok I have this patched I believe, it will be in v2.0.7 in a few hours time (maybe sooner but I see at least 7 other tickets I need to try and solve asap as well).

    If your so inclined to test the fix before then, that would be great too and help confirm we fully solved it before another update.

    Thread Starter gerold1968

    (@gerold1968)

    Hi, copied the new code in file inc/functions/compatibility.php and it seems to work. Its late over here, so more investigations tomorrow if necessary.

    thx a lot for now!

    Plugin Author Daniel Iser

    (@danieliser)

    @gerold1968 – Fantastic, always great to know that the fix works before we push it as a release ??.

    I’m gonna mark this resolved so I can keep track of ongoing issues for now. If you have another issue please open a new thread and we will help work it out quickly.

    Otherwise please take a moment to?rate & review?the plugin and or support to spread the word.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error also on v2.0.5’ is closed to new replies.