Forum Replies Created

Viewing 15 replies - 1 through 15 (of 86 total)
  • Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi,
    Thank you, I can’t see this slow query anymore after recent update, great support ??

    Hi,
    @silente08 how did you solve the issue? I can see working filtering on your website..

    @fesupportteam I’ve added support for widgets to my block theme and use a shortcode within the Gutenberg block, unfrotunately filters are not visible, maybe the PRO version of the plugin supports blocks ?

    Thanks,
    Piotr

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi,
    I understand, unfortunately today I’ve disabled Object Cache, to upload image and when I’m trying to enable it again a can see a bigger issue.. Our website is not rendered properly and at the bottom I can see:

    Error establishing a Redis connection
    To disable Redis, delete the object-cache.php file in the /wp-content/ directory.

    Tried to remove this file, but the result is the same, in the wordpress log file I can see:

    [01-Feb-2024 12:02:19 UTC] Exception: Serialization of 'Closure' is not allowed in /../public_html/wp-content/object-cache.php:2767
    Stack trace:
    #0 /../public_html/wp-content/object-cache.php(2767): serialize()
    #1 /../public_html/wp-content/object-cache.php(2155): WP_Object_Cache->maybe_serialize()
    #2 /../public_html/wp-content/object-cache.php(294): WP_Object_Cache->set()
    #3 /../public_html/wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/api/class-api.php(305): wp_cache_set()
    #4 /../public_html/wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/api/class-api.php(329): BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\API\API->get_backtrace()
    #5 /../public_html/wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/php/class-php-error-handler.php(187): BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\API\API->is_backtrace_contains_plugin()
    #6 /../public_html/wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/php/class-php-error-handler.php(99): BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\PHP\PHP_Error_Handler->is_related_error()
    #7 /../public_html/wp-content/plugins/woocommerce/src/Admin/DataSourcePoller.php(138): BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\PHP\PHP_Error_Handler->plugin_error_handler()
    #8 /../public_html/wp-content/plugins/woocommerce/src/Admin/DataSourcePoller.php(112): Automattic\WooCommerce\Admin\DataSourcePoller->read_specs_from_data_sources()
    #9 /../public_html/wp-content/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/Init.php(76): Automattic\WooCommerce\Admin\DataSourcePoller->get_specs_from_data_sources()
    #10 /../public_html/wp-content/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/Init.php(33): Automattic\WooCommerce\Internal\Admin\RemoteFreeExtensions\Init::get_specs()
    #11 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Marketing.php(84): Automattic\WooCommerce\Internal\Admin\RemoteFreeExtensions\Init::get_extensions()
    #12 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Marketing.php(73): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Marketing::get_plugins()
    #13 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(304): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Marketing->can_view()
    #14 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}()
    #15 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(305): array_filter()
    #16 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(171): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->get_viewable_tasks()
    #17 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(349): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->is_visible()
    #18 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}()
    #19 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(350): array_filter()
    #20 /../public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(455): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::get_visible()
    #21 /../public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::task_list_preloaded_settings()
    #22 /../public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #23 /../public_html/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(61): apply_filters()
    #24 /../public_html/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(268): Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin\{closure}()
    #25 /../public_html/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(393): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data()
    #26 /../public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data()
    #27 /../public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #28 /../public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #29 /../public_html/wp-includes/script-loader.php(2245): do_action()
    #30 /../public_html/wp-includes/class-wp-hook.php(324): wp_print_footer_scripts()
    #31 /../public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #32 /../public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #33 /../public_html/wp-includes/general-template.php(3068): do_action()
    #34 /../public_html/wp-content/themes/.../footer.php(100): wp_footer()
    #35 /../public_html/wp-includes/template.php(790): require_once('...')
    #36 /../public_html/wp-includes/template.php(725): load_template()
    #37 /../public_html/wp-includes/general-template.php(92): locate_template()
    #38 /../public_html/wp-content/themes/.../single-lesson.php(178): get_footer()
    #39 /../public_html/wp-includes/template-loader.php(106): include('...')
    #40 /../public_html/wp-blog-header.php(19): require_once('...')
    #41 /../public_html/index.php(17): require('...')
    #42 {main}
    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi,
    Any news regarding reported issue? I’ve updated WP Cerber plugin, but unfortunately I still have the same problem with uploading some images..

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi,
    I’ve disabled wp-cerber, flush object cache, remove wp-super cache files and seems to be fine now (bh-wc-checkout-rate-limiter is still active and images may be uploaded without any issue)

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi,
    Sure, here you can see full error message:

    Exception: Serialization of 'Closure' is not allowed in /..//wp-content/object-cache.php:2771
    Stack trace:
    #0 /..//wp-content/object-cache.php(2771): serialize()
    #1 /..//wp-content/object-cache.php(2159): WP_Object_Cache->maybe_serialize()
    #2 /..//wp-content/object-cache.php(294): WP_Object_Cache->set()
    #3 /..//wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/api/class-api.php(305): wp_cache_set()
    #4 /..//wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/api/class-api.php(329): BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\API\API->get_backtrace()
    #5 /..//wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/php/class-php-error-handler.php(187): BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\API\API->is_backtrace_contains_plugin()
    #6 /..//wp-content/plugins/bh-wc-checkout-rate-limiter/vendor-prefixed/brianhenryie/bh-wp-logger/src/php/class-php-error-handler.php(99): BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\PHP\PHP_Error_Handler->is_related_error()
    #7 [internal function]: BrianHenryIE\Checkout_Rate_Limiter\WP_Logger\PHP\PHP_Error_Handler->plugin_error_handler()
    #8 /..//wp-content/plugins/wp-cerber/cerber-common.php(4325): octdec()
    #9 [internal function]: {closure}()
    #10 /..//wp-content/plugins/wp-cerber/cerber-common.php(4332): array_map()
    #11 /..//wp-content/plugins/wp-cerber/cerber-load.php(8640): cerber_fromcharcode()
    #12 /..//wp-content/plugins/wp-cerber/cerber-load.php(8487): cerber_detect_js_code()
    #13 /..//wp-content/plugins/wp-cerber/cerber-load.php(8756): cerber_inspect_value()
    #14 /..//wp-content/plugins/wp-cerber/cerber-load.php(853): cerber_inspect_uploads()
    #15 /..//wp-includes/class-wp-hook.php(310): {closure}()
    #16 /..//wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #17 /..//wp-includes/plugin.php(517): WP_Hook->do_action()
    #18 /..//wp-settings.php(495): do_action()
    #19 /..//wp-config.php(110): require_once('...')
    #20 /..//wp-load.php(50): require_once('...')
    #21 /..//wp-admin/admin.php(34): require_once('...')
    #22 /..//wp-admin/media-new.php(13): require_once('...')
    #23 {main}
    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi,

    Error appeared on my frontpage, so I’ve checked error log file and found this entry:
    PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /…/wp-content/plugins/sportspress/includes/class-sp-player-list.php:272

    It’s visible in php 8.0 and 8.1 when I change php to 7.4 everything is fine..

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi,

    Unfortunately the issue is not resolved..
    I’ve switched to browser uploader in Media -> Add New and now when I try to upload some images I can see the following error:
    https://assets.tuning4web.com/terr_2AFAFD11.png

    I upload 5-10 images per week and always one or two are problematic and I need to disable Redis Object Cache plugin to upload them (image sizes are similar, format is the same)

    Thread Starter Piotr Kunicki

    (@kuperman87)

    @tillkruess no, can’t see any error messages..
    If i disable Redis Object Cache plugin, uploading works properly, if I enable it again – uploading doesn’t work.

    Thread Starter Piotr Kunicki

    (@kuperman87)

    No, there are no problem with out of PHP memory, hosting support also confirm that there are no errors connected with file uploading (in log files).. also a lot of other images are uploaded correctly..

    Hi,

    I’ve noticed the same issue.. when I’m editing the post, disable the notification checkbox, this option is not saved after publishing and the notifications are sent to users every time..

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi @wpdever,

    Unfortunately I’ve noticed one more issue.. regarding the comments notifications removing – i’m using your function:

    add_action('wnbell_add_unseen', 'delete_seen_callback',11,1);
    function delete_seen_callback($notification_id){
    	$current_user_id = get_current_user_id();
    	$user_meta_field = 'wnbell_unseen_comments';
    	$unseen_array = get_user_meta($current_user_id, $user_meta_field, true);
    	if (!$unseen_array) {
    	$unseen_array=array();
    	}
    	foreach($unseen_array as $key=>$notification){
    	if($notification['type']==='cfc' && $notification['comment_id']==$notification_id){
    	//unset
    	unset($unseen_array[$key]);
    	}
    }
    
    update_user_meta($current_user_id, 'wnbell_unseen_comments', $unseen_array);
    
    }

    and it works fine with comments answered (cfc type), but unfortunately it doesn’t work with ‘cfa’ type (post authors comments).

    I’ve tried to change this condition into:
    if(($notification['type']==='cfc' || $notification['type']==='cfa') && $notification['comment_id']==$notification_id){

    but unfortunately it doesn’t work..

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi @dsmaster,
    Sorry, I was on vacation.. I’ve answered you via facebook.

    @wpdever are you able to reproduce the issue from my previous answer?

    Thanks

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi @wpdever

    Thanks, I’ve added the code into theme’s functions.php file and modified the query from includes/menu_bell.php file but unfortunately it still doesn’t work..

    It’s better now, because when I click the bell icon I can see “0”, when I click the bell icon again I still can see “0” so it’s fine.. but i see “1” again when I refresh the page..

    Thread Starter Piotr Kunicki

    (@kuperman87)

    Hi @wpdever,

    Any news regarding my previous question? Are you able to reproduce the issue?

    Thanks,
    Piotr

Viewing 15 replies - 1 through 15 (of 86 total)