When editing products, this plugin causes a fatal error that prevents loading the product edit page:
Uncaught Error: Class "WSAL_Models_OccurrenceQuery" not found in [...]/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/sensors/class-woocommerce-sensor.php:3300
Is anyone faced this issue, it increase extra 15sec on checkout after installed.
My cloud server is running at 12cores.
]]>Hello!
I tested the this plugin along with its main plugin WP Activity Log and I cant seem to be able to keep track of some Woocommerce product changes, specifically price and sale price (some others also don’t work).
I also did this test one a fresh install of WordPress and latest Woocommerce version and still cant see the desired logs.
Thanks for your attention!
]]>Hi there,
Woocommerce is preparing High-Performance Order Storage for scalability.
https://woocommerce.com/document/high-performance-order-storage/
When I try to use?High-Performance Order Storage, I saw that this plugin is not compatible.
Do you plan to make your plugin compatible?
]]>I am unable to enable High-Performance Order Storage (COT) in WooCommerce due to compatibility issues with your plugin. Is there a workaround or solution available to resolve this issue?
I value your plugin’s functionality and would appreciate any suggestions on how to address this matter.
https://woocommerce.com/document/high-performance-order-storage/
Hi guys,
Thanks for the great plugin.
We get an error when the product is out of stock and trying to change the order status.
I think the plugin needs a condition to make sure the product is there. Here is the log.
[21-Nov-2022 14:10:26 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_name() on bool in wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3467
Stack trace:
#0 wp-includes/class-wp-hook.php(308): WSAL_Sensors_WooCommerce->event_order_items_removed(98625)
#1 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#2 wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(104): do_action('woocommerce_bef...', 98625)
#4 wp-content/plugins/woocommerce/includes/class-wc-data-store.php(190): Abstract_WC_Order_Item_Type_Data_Store->delete(Object(WC_Order_Item_Product), Array)
#5 wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(189): WC_Data_Store->delete(Object(WC_Order_Item_Product), Array)
#6 wp-content/plugins/woocommerce/includes/admin/wc-admin-functions.php(308): WC_Data->delete()
#7 wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php(54): wc_save_order_items(220536, Array)
#8 wp-includes/class-wp-hook.php(310): WC_Meta_Box_Order_Items::save(220536)
#9 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#10 wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(269): do_action('woocommerce_pro...', 220536, Object(WP_Post))
#12 wp-includes/class-wp-hook.php(310): WC_Admin_Meta_Boxes->save_meta_boxes(220536, Object(WP_Post))
#13 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#14 wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 wp-includes/post.php(4717): do_action('save_post', 220536, Object(WP_Post), true)
#16 wp-includes/post.php(4819): wp_insert_post(Array, false, true)
#17 wp-admin/includes/post.php(426): wp_update_post(Array)
#18 wp-admin/post.php(227): edit_post()
#19 {main}
thrown in wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3467
Best regards,
Spyros
I am having an issue on a site where occasional orders are randomly discounting products by $10 each – I can’t find the cause (discount plugin gone awry or ?)– would the logs provided by this plugin potentially tell me where that is coming from?
]]>This is an extension for the WP Activity Log plugin. If you encounter any issues using this extension, please post your support question in the WP Activity Log plugin support forums.
Thank you for your cooperation and for using our plugins.
]]>Hi+
I’ve read the information provided on this plugin. I do understand that this plugin tracks changes to Woocommerce items made via the back-end of the website (i.e. payment gateway, stock, price, etc.) but it is not clear to me if this plugin will track changes a “Customer” makes on their ‘customer account dashboard’ via the front-end of the website.
For example: If they change any of the following on their Customer Account Dashboard…Shipping Address, credit card information, email, etc.
If the Customer changes any of those items, then would that be “tracked” by this plugin and show up in the log on the back-end? If so, what steps are needed to enable that specifically?
If not, then do you offer a plugin that does track the Customer’s changes they make on their Customer Account Dashboard? If so, please provide a link to that plugin.
Thank you, +ES
]]>I have disabled this plugin for now as a work around, however we are getting the following PHP error when we add a coupon:
[07-Jul-2022 15:34:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event() in /home/user/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce_Public.php:152
Stack trace:
#0 /home/user/public_html/wp-includes/class-wp-hook.php(309): WSAL_Sensors_WooCommerce_Public->event_new_order(10125)
#1 /home/user/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /home/user/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#3 /home/user/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(89): do_action('woocommerce_new...', 10125, Object(WC_Order))
#4 /home/user/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
#5 /home/user/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Sto in /home/user/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce_Public.php on line 152
Our version is 1.4.4:
[user@wpen2 www]$ php -d memory_limit=512M "$(which wp)" plugin list | grep wp-activity-log-for-woocommerce
wp-activity-log-for-woocommerce active none 1.4.4
[user@wpen2 www]$
Unsure if you need any other info, let me know.
]]>Hi,
I would like raise a concern about duplicate orders in Woocommerce for several days. I already troubleshoot for plugin conflicts. I’ve deactivated the plugin for now.
This is my log file dated with the event:
2022-05-24T15:03:42+00:00 CRITICAL Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3121
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(4342, Object(WC_Order_Item_Product), 9030)
#1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /www/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 4342, Object(WC_Order_Item_Product), 9030)
#4 /www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))
#5 /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(WC_Order_Item_Product))
#6 /www/wp-content/plugins/ in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3121
2022-05-24T15:04:07+00:00 CRITICAL Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3121
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(4343, Object(WC_Order_Item_Product), 9031)
#1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /www/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 4343, Object(WC_Order_Item_Product), 9031)
#4 /www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))
#5 /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(WC_Order_Item_Product))
#6 /www/wp-content/plugins/ in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3121
2022-05-24T15:04:41+00:00 CRITICAL Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3121
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(4344, Object(WC_Order_Item_Product), 9032)
#1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /www/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 4344, Object(WC_Order_Item_Product), 9032)
#4 /www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))
#5 /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(WC_Order_Item_Product))
#6 /www/wp-content/plugins/ in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3121
2022-05-24T15:04:45+00:00 CRITICAL Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3121
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(4345, Object(WC_Order_Item_Product), 9033)
#1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /www/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 4345, Object(WC_Order_Item_Product), 9033)
#4 /www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))
#5 /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(WC_Order_Item_Product))
#6 /www/wp-content/plugins/ in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3121
2022-05-24T15:05:07+00:00 CRITICAL Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3121
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(4346, Object(WC_Order_Item_Product), 9034)
#1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /www/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 4346, Object(WC_Order_Item_Product), 9034)
#4 /www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))
#5 /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(WC_Order_Item_Product))
#6 /www/wp-content/plugins/ in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3121
2022-05-24T15:05:29+00:00 CRITICAL Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3121
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(4347, Object(WC_Order_Item_Product), 9035)
#1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /www/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 4347, Object(WC_Order_Item_Product), 9035)
#4 /www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))
#5 /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(WC_Order_Item_Product))
#6 /www/wp-content/plugins/ in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3121
2022-05-24T15:06:12+00:00 CRITICAL Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3121
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(4348, Object(WC_Order_Item_Product), 9036)
#1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /www/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 4348, Object(WC_Order_Item_Product), 9036)
#4 /www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))
#5 /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(WC_Order_Item_Product))
#6 /www/wp-content/plugins/ in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3121
]]>
i want to track only stock changes made by users from woocommerce panel
i tried to uncheck the following option “Log all stock changes. Disable this setting to only keep a log of stock changes done manually via the WooCommerce dashboard. Therefore automated stock changes typically done via customers placing orders or via other plugins will not be logged.”
when i uncheck and save the option is again checked kindly let me know how to do that?
plus one more thing in exclude objects i’m unable to exclude any users or role this option is not working
]]>Fatal error: Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event_if() in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:2847 Stack trace: #0 /www/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->editing_product() #1 /www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /www/wp-includes/plugin.php(474): WP_Hook->do_action() #3 /www/wp-admin/edit-form-advanced.php(463): do_action() #4 /www/wp-admin/post.php(206): require(‘/www/wp-admin/e…’) #5 {main} thrown in /www/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 2847
I am getting this error at admin side for each of the actions that I try to perform on WooCommerce like edit products, save anything on settings, etc.
WooCommerce Version : 6.4.1
WP Activity Log for WooCommerce Version : 1.4.3
Right now, I have disabled the plugin and everything is working fine.
Thanks
]]>Yesterday our stores auto-updated to version 1.4.3 of your plugin. After doing so, our clients began reporting errors creating orders. Our hosting provider’s logs show this traceback at order creation time:
2022/05/06 19:11:25 [error] 234#234: *682943 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method WSAL_AlertManager::trigger_event() in /www/multisiteproduseast1_103/public/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce_Public.php:152
Stack trace:
#0 /www/multisiteproduseast1_103/public/wp-includes/class-wp-hook.php(294): WSAL_Sensors_WooCommerce_Public->event_new_order(33602)
#1 /www/multisiteproduseast1_103/public/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
#2 /www/multisiteproduseast1_103/public/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /www/multisiteproduseast1_103/public/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(88): do_action('woocommerce_new...', 33602, Object(WC_Order))
#4 /www/multisiteproduseast1_103/public/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
#5 /www/multisiteproduseast1_103/public" while reading response header from upstream, client: 54.221.243.3, server: <redacted>, request: "POST /wp-json/wc/v3/orders HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7.4-fpm-multisiteproduseast1.sock:", host: "<redacted>:43347"
After disabling the plugin, the orders processed successfully.
]]>Using this plugin in conjunction with the WooCommerce Zapier plugin caused all of my Zapier automations to be disabled. After contacting all other supports they determined that this plugin was causing the issue, once deactivated everything functioned normally again. I would love to be able to use this plugin but can’t in it’s current state.
]]>When webhooks are updated after being delivered this error occurs:
2022-04-25T06:45:57+00:00 CRITICAL Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, class WSAL_Sensors_WooCommerce does not have a method "webhook_updated" in /var/app/current/woapi/wp-includes/class-wp-hook.php:307
Stack trace:
#0 /var/app/current/woapi/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#1 /var/app/current/woapi/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#2 /var/app/current/woapi/wp-content/plugins/woocommerce/includes/data-stores/class-wc-webhook-data-store.php(166): do_action('woocommerce_web...', 3)
#3 /var/app/current/woapi/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(179): WC_Webhook_Data_Store->update(Object(WC_Webhook))
#4 /var/app/current/woapi/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(216): WC_Data_Store->update(Object(WC_Webhook))
WP version 5.9.3
Woocommerce version 6.4.1
Plugin version 1.4.2
Hello,
We are using the latest version of this plugins, and we keep getting this error Whenever we try to duplicate a product in WooCommerce
[12-Apr-2022 07:15:05 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_type() on bool in ~/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:2656
Stack trace:
#0 ~/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php(5078): WSAL_Sensors_WooCommerce->GetProductData(false)
#1 ~/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->check_product_changes_before_save(Object(WC_Product_Variable), Object(WC_Data_Store))
#2 ~/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#3 ~/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#4 ~/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1377): do_action('woocommerce_bef...', Object(WC_Product_Variable), Object(WC_Data_Store))
#5 ~/public_html/wp-conte in ~/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 2656
]]>
Hi there!
We are seeing an error with WooCommerce Subscriptions as of the 1.4.0 update. This error is thrown during the subscription renewal process and prevents the creation of renewal orders.
We tested and are still seeing the issue after updating to 1.4.1. For now we’ve deactivated Activity Log for WooCommerce.
Please let us know if there’s any other information we can provide to assist with debugging this issue – thank you!
scheduled action 244094 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_name() on bool in /srv/htdocs/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3053
Stack trace:
#0 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(101770, Object(WC_Order_Item_Product), 28002)
#1 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/core/5.9.3/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-order-item-functions.php(39): do_action('woocommerce_new...', 101770, Object(WC_Order_Item_Product), 28002)
#4 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/wcs-order-functions.php(256): wc_add_order_item(28002, Array)
#5 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/wcs-renewal-functions.php(29): wcs_create_order_from_subscription(Object(WC_Subscription), 'renewal_order')
#6 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php(116): wcs_create_renewal_order(Object(WC_Subscription))
#7 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php(89): WC_Subscriptions_Manager::process_renewal(5377, 'active', 'Subscription re...')
#8 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): WC_Subscriptions_Manager::prepare_renewal(5377)
#9 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#10 /wordpress/core/5.9.3/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#11 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array('woocommerce_sch...', Array)
#12 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
#13 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(244094, 'WP Cron')
#14 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron')
#15 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): ActionScheduler_QueueRunner->run('WP Cron')
#16 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#17 /wordpress/core/5.9.3/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#18 /wordpress/core/5.9.3/wp-cron.php(138): do_action_ref_array('action_schedule...', Array)
#19 {main}
thrown
]]>
Uncaught Error: Call to a member function get_sku() on bool in ((:::SNIP:::))/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:511
Stack trace:
#0 ((:::SNIP:::))/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php(488): WSAL_Sensors_WooCommerce->get_product_sku(2462)
#1 ((:::SNIP:::))/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php(357): WSAL_Sensors_WooCommerce->EventCreation(Object(WP_Post), Object(WP_Post))
#2 ((:::SNIP:::))/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->EventChanged(2462, Object(WP_Post), false)
#3 ((:::SNIP:::))/wp-includes/class-wp-hook.php(331): WP_Hook->ap
This happens when I publish/unpublish a product, move it to trash, restore it from trash etc. The requested effect does still happen (as evidenced in the product being unpublished, moved to/from trash etc.), but it’s a PITA to go through HTTP 500 each and every time.
Tested on both staging and live, happens on both (different hosting).
WSAL for Woo v1.4.0 (WSAL v4.4.1) @ WP v5.9.3 with Woo v6.3.1
]]>gives Fatal errors with Woocommerce + WPML on product update
]]>Hello,
Purchased and installed the PRO version of the plugin, and we’re noticing a constant notice (happens over and over again) tied to ‘Undefined offset’ and ‘Trying to get property ‘key’ of non-object’ messages:
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32593 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32594 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32595 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32596 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32597 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32598 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32599 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32600 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32601 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Undefined offset: 32602 in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
[31-Mar-2022 14:49:33 UTC] PHP Notice: Trying to get property ‘key’ of non-object in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 4193
As a result, our logs fill up perpetually (and end up unmanageably huge).
Any guidance is greatly appreciated!
]]>Hi – great plugin!
Can it log low stock threshold changes?
Thanks
]]>Hello, congratulations on the plugin, it seems really amazing. We are evaluating the idea to buy the pro version for our multisite.
Beside this, we are encountering a small issue:
When an admin is modifying the stock quantity of a product through a third party plugin (like “YITH Product Bulk Editing” or any other), then the log shows a record like this:
Changed the stock quantity of the product NULL to 3.
Product ID: NULL
Product status: NULL
Instead of
Changed the stock quantity of the product AWESOME CHAIR to 4.
Product ID: 24324
Product status: published
Previous quantity: 3
As we have few thousands SKUs we can’t use Woocomemrce traditional admin product list to update our stock, so we rely on third party plugins.
Is there any setting where we can enable logs from third party plugins for stock management or any fix to this issue?
Thank you very much in advance!
]]>Hello,
I just subscribed to it however I made a typo in my email address: [redacted], there is a “s” mission at louis so my correct address is [redacted], could you update and resend please,
thank you ??
Jean-Louis Monin
Head of Digital
THE INVISIBLE COLLECTION
I work flexibly so whilst it suits me to email now, I do not expect a response or action outside of your own working hours.
signature moderated:
https://www.ads-software.com/support/guidelines/#do-not-spam
]]>Fatal errors encountered :
Checkout Page – Place Order
Fatal error: Uncaught Error: Call to undefined method WC_Order_Item_Shipping::get_product()
in ....../wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 2802
Call stack:
WSAL_Sensors_WooCommerce::event_order_items_added()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:60
Abstract_WC_Order_Item_Type_Data_Store::create()
wp-content/plugins/woocommerce/includes/class-wc-data-store.php:169
WC_Data_Store::create()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:218
WC_Data::save()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:243
WC_Abstract_Order::save_items()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:190
WC_Abstract_Order::save()
wp-content/plugins/woocommerce/includes/class-wc-order.php:221
WC_Order::save()
wp-content/plugins/woocommerce/includes/class-wc-checkout.php:389
WC_Checkout::create_order()
wp-content/plugins/woocommerce/includes/class-wc-checkout.php:1172
WC_Checkout::process_checkout()
wp-content/plugins/woocommerce/includes/class-wc-ajax.php:466
WC_AJAX::checkout()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-content/plugins/woocommerce/includes/class-wc-ajax.php:90
WC_AJAX::do_wc_ajax()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-includes/template-loader.php:13
require_once()
wp-blog-header.php:19
require()
index.php:17
Admin Page > Woocommerce > Orders > Add Order > Add a product > Recalculate
Fatal error: Uncaught Error: Call to undefined method WC_Order_Item_Tax::get_product()
in ...../wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 2802
Call stack:
WSAL_Sensors_WooCommerce::event_order_items_added()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:60
Abstract_WC_Order_Item_Type_Data_Store::create()
wp-content/plugins/woocommerce/includes/class-wc-data-store.php:169
WC_Data_Store::create()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:218
WC_Data::save()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:243
WC_Abstract_Order::save_items()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:190
WC_Abstract_Order::save()
wp-content/plugins/woocommerce/includes/class-wc-order.php:221
WC_Order::save()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:1656
WC_Abstract_Order::update_taxes()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:1581
WC_Abstract_Order::calculate_taxes()
wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1433
WC_AJAX::calc_line_taxes()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-admin/admin-ajax.php:187
]]>
Since the last update to version 1.2.3 of WP Activity Log for WooCommerce, visible fatal errors are generated in the logs when using discount coupons(. I copy here below the logs. With the previous version there is no problem at all. Now, when going from the cart to the payment details page and creating a new payment (whatever the payment gateway) an internal server error is generated.
logs(just after creating the order #12693 with any previously applied coupon in cart):
[02-Sep-2021 22:06:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Order_Item_Coupon::get_product() in /home/site/xxx.xxx/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:2802
Stack trace:
#0 /home/site/xxx.xxx/wp-includes/class-wp-hook.php(303): WSAL_Sensors_WooCommerce->event_order_items_added(12576, Object(WC_Order_Item_Coupon), 12693)
#1 /home/site/xxx.xxx/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(12576, Array)
#2 /home/site/xxx.xxx/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /home/site/xxx.xxx/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action(‘woocommerce_new…’, 12576, Object(WC_Order_Item_Coupon), 12693)
#4 /home/site/xxx.xxx/wp-content/plugins/woocommerce/includes/class-wc-data-store. in /home/site/xxx.xxx/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 2802
Only solution that i’ve found…deactivate plugin o revert to previous version…
Any ideas???
Thanks in advance
Is it possible to enable logs for users who downloaded reports?
]]>Hi,
After updated plugin from 1.2.0 to 1.2.1 I have a lot of PHP Notices (hundreds per day):
PHP Notice: Undefined offset: (here integer value) in /wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3983
Notice it’s in:
$current_value = get_user_meta( $user_id, $this->wc_user_meta[ $meta_id ]->key, true );
WP Activity Log (Premium) version is 4.2.1
]]>Hi, When I try to update Woocommerce it brings up a warning that there might be a compatibility issue with your plugin.
Do you know of any compatibility issues?
Barry
]]>Since we have the ability to hide the audit log plugin in the plugins list, it would be great to be able to have this hide as well.
]]>