codepuncher
Forum Replies Created
-
Great, looks like no more errors.
Thanks!
Hi @avinashcov ,
Thanks for the update.
I will check the logs tomorrow to see if anything new pops up.Hi there,
Thanks for the update.
I can see that error is resolved but there are new ones still:
2025/09/19 14:16:42 [error] 35067#35067: *339203 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined property: stdClass::$data in /path/to/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-tvc-admin-helper.php on line 614PHP message: PHP Warning: Attempt to read property "store_id" on null in /path/to/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-tvc-admin-helper.php on line 614PHP message: PHP Warning: Undefined property: stdClass::$data in /path/to/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-tvc-admin-helper.php on line 614PHP message: PHP Warning: Attempt to read property "store_id" on null in /path/to/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-tvc-admin-helper.php on line 614" while reading response header from upstream, client: 45.32.183.128, server: www.example.co.uk, request: "HEAD /?statuscake HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.1-fpm-example.sock:", host: "www.example.co.uk:27050"Looks like there is no error checking in the code:
$this->update_subscription_details_api_to_db();
$google_detail_res = $this->customApiObj->getGoogleAnalyticDetail();
$store_id = $google_detail_res->data->store_id;
Please can this be fixed too?Forum: Plugins
In reply to: [WC - APG Weight Shipping] Undefined variable $clase_de_envioYes it’s the latest version.
Thanks!
Hi Hendra,
It would be appreciated for a bug fix to be released in v4 as I don’t know what timescales there are for v5.
Thanks
Thanks for the update @hendcorp!
Pull request submitted: https://github.com/CybotAS/CookiebotWP/pull/330
Thanks for sharing the GitHub repo. I’ll submit a PR to the repo for this as a new addon then.
The documentation explains how to setup a new addon here: https://github.com/CybotAS/CookiebotWP/blob/master/documentation/how-to-block-cookies.md
During development of this I have noticed that using
$this->script_loader_tag->add_tagdoesn’t output thedata-cookieconsentattribute to the script.Looking into that further, it seems that this may be a bug in the core plugin (unless I am misunderstanding this).
The
wp_script_attributesfilter here doesn’t get the cookie type/category from the addon and hardcodesignoreas the type/category.This doesn’t happen when using WordPress < 5.7 though and it correctly adds the attribute with correct category.
Does this makes sense and should this be moved over to a GitHub issue?
Thanks
- This reply was modified 1 year, 4 months ago by codepuncher.
Forum: Plugins
In reply to: [Search Exclude] 2.1.9 doesn’t exclude postsI have reported a bug to a separate plugin here: https://ww.wp.xz.cn/support/topic/post__not_in-hook-is-overriding-other-plugins/#new-topic-0
They override
post__not_inwhich causes the issue.However, this issue can still be fixed by Search Exclude simply by using a higher number for the priority on the hook so it will run after other plugins.
Forum: Plugins
In reply to: [Search Exclude] 2.1.9 doesn’t exclude postsThe problem still exists on 2.2.0.
I think this may be due to the priority number on the pre_get_posts action.
Since it is using the default number of 10, this is also used by other plugins.
If the priority was changed to a higher number, it would fix the issue by preventing other plugins overwriting at a lower priority.
@jmatiasmastro There are no more errors which is good. However, posts are not being hidden so the plugin isn’t working.
I am seeing the same issue.
Forum: Plugins
In reply to: [Search Exclude] 2.1.9 doesn’t exclude postsAdditionally, 2.1.9 is also causing another critical/fatal error
PHP Fatal error: Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, null given in /www/xxx/wp-content/plugins/search-exclude/lib/controllers/class-backend.php:180
Stack trace:
#0 /www/xxx/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(180): array_diff(NULL, Array)
#1 /www/xxx/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(166): QuadLayers\QLSE\Controllers\Backend->save_post_ids_to_search_exclude(Array, false)
#2 /www/xxx/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(308): QuadLayers\QLSE\Controllers\Backend->save_post_id_to_search_exclude(51389, false)
#3 /www/xxx/wp-includes/class-wp-hook.php(326): QuadLayers\QLSE\Controllers\Backend->post_save(51389)
Forum: Plugins
In reply to: [Search Exclude] The plugin no longer seems to be working for postsHi there,
We are also experiencing the same issue in v2.1.5.
Downgrading to 2.1.4 fixes the issue.
I presume the refactor in 2.1.5 has broke it.