- Status: Closed
- Opened by: George Efthymiou (geefthym)
- Open Date: 28.09.17, 10:42
- Closed by: Marek (marek)
- Closed on: 29.12.17, 11:04
- Reason: Closed
- Comment: Glad to help!
Ticket #10864 - error_log in wp-admin
Hi, the error_log file in wp-admin constantly gets filled with the following message:
[28-Sep-2017 07:37:21 UTC] id was called incorrectly. Product properties should not be accessed directly. Backtrace: do_action(’admin_init’), WP_Hook→do_action, WP_Hook→apply_filters, PK_Features→admin_init, PK_Features→get_settings_fields, PK_Features→get_brands, WC_Abstract_Legacy_Product→__get, wc_doing_it_wrong. This message was added in version 3.0.
The entries are continuous, the file size increases by 3.3MB/min!
When I use another theme, eg TwentySeventeen, the error doesn’t occur.
I think it has to do with deprecated methods related to WooCommerce.
Attached you can find the WooCommerce status report. The under-construction website is spharm.infoscope.gr.
Any help would be much appreciated, cause now I have to “empty” the error_log file every day, so that the website folder doesn’t exceed the hosting space in the server.
Thank you in advance,