Skip to content

PHP Warning when deleting a product with ZenTags #13

@dbltoe

Description

@dbltoe

When deleting a product with ZenTags, we are getting the following log file.

[22-Aug-2025 21:50:28 UTC] Request URI: //index.php?cmd=category_product_listing&action=delete_product_confirm&product_type=1&cPath=76_84&page=2, IP address: , Language id 1
#0 //includes/classes/observers/ZenTagsAdminObserver.php(52): zen_debug_error_handler()
#1 /includes/classes/traits/NotifierManager.php(107): ZenTagsAdminObserver->updateNotifierAdminZenRemoveProduct()
#2 /includes/functions/functions_products.php(773): base->notify()
#3 //includes/modules/delete_product_confirm.php(45): zen_remove_product()
#4 /
/category_product_listing.php(223): require('/home/zqxstefl/...')
#5 /
/index.php(16): require('/home/zqxstefl/...')
--> PHP Warning: Undefined variable $products_id in /
**/includes/classes/observers/ZenTagsAdminObserver.php on line 52.

Should the line be
'$zen_tags->removeProductTags($product_id);'
vs
'$zen_tags->removeProductTags($products_id);'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfix providedCode change provided for the issue

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions