[03-Jul-2024 02:05:54 UTC] PHP Deprecated: Creation of dynamic property HImpExpCsv_Cron::$exports_enabled is deprecated in /xxx/wp-content/plugins/comments-import-export-woocommerce/includes/clacmt_impexpcsv-cron.php on line 14
]]>The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta., referer https://domain.com/wp-admin/admin.php?page=wc_colissimo_view&s=1234567
Il faudrait remplacer la fonction get_item_meta par wc_get_order_meta
]]>[09-Jun-2024 08:53:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function woocommerce_get_page_id() in /home/xxxxxxxx/public_html/xxxxxxxx/plugins/brands-for-woocommerce/main.php:318
#0 /home/xxxxxxxx/public_html/wp-includes/class-wp-hook.php(324): BeRocket_product_brand->register_taxonomy('')
#1 /home/xxxxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/xxxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/xxxxxxxx/public_html/wp-settings.php(695): do_action('init')
#4 /home/xxxxxxxx/public_html/wp-config.php(118): require_once('/home/xxxxxxxx/...')
#5 /home/xxxxxxxx/public_html/wp-load.php(50): require_once('/home/xxxxxxxx/...')
#6 /home/xxxxxxxx/public_html/wp-admin/upgrade.php(18): require('/home/xxxxxxxx/...')
#7 {main}
“main.php” at line 318$shop_page_id = woocommerce_get_page_id( 'shop' );
Use wc_get_page_id instead !!!
]]>But now, when I go to All H5P Content I get the message:
Failed to load data
When I put Debug On I get this:
Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /public_html/wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
There is data, I can see modules on the frontend of the site. What can I do now? Thank you!
Notice: Function is_internal_meta_key was called incorrectly. Generic add/update/get meta methods should not be used for internal meta data, including “_order_currency”. Use getters and setters. Backtrace: require(‘wp-admin/edit-form-advanced.php’), do_meta_boxes, WOOMULTI_CURRENCY_F_Admin_Order->order_metabox, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.2.0.) in /var/www/html/wp-includes/functions.php on line 6031 Deprecated: Function WC_Order::get_order_currency is deprecated since version 3.0! Use WC_Order::get_currency instead. in /var/www/html/wp-includes/functions.php on line 6031
]]>The plugin uses wp_richedit_pre
in classes/fields/class.field.wysiwyg.php
on line 138, which is deprecated and replaced with format_for_editor
.
Would love to see bugfix release for this (maybe there are more issues like this, I only saw this one in the error log) so I don’t have to manually patch this after every website deployment.
Will be ignoring the error for now
Thank you for the plugin and in advance for the update.
]]>I’d like to send you a heads-up on this. It seems the create_function() and the W3Tc plugin caused (conflicted?) Fatal Error sometimes in our woo shop.
the error:
PHP Fatal error: Uncaught ErrorException: Function create_function() is deprecated in /home/www/clients/xxx/web/wp-content/plugins/woocommerce-products-filter/index.php:890
Stack trace:
#0 /home/www/xxx/web/wp-content/plugins/woocommerce-products-filter/index.php(890): W3TC\Cache_Redis->W3TC\{closure}(8192, 'Function create...', '/home/www/clien...', 890, Array)
#1 /home/www/clients/xxx/web/wp-includes/class-wp-hook.php(307): WOOF->wp_load_js('')
#2 /home/www/clients/xxx/web/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#3 /home/www/clients/xxx/web/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#4 /home/www/clients/xxx/web/wp-includes/general-template.php(3042): do_action('wp_head')
#5 /home/www/clients/xxx/web/wp-content/themes/woodmart/header.php(12): wp_head()
#6 /home/www/clients/xxx/web/wp-includes/template.php(770): require_once('/home/www/clien...')
#7 /home/w in /home/www/clients/xxx/web/wp-content/plugins/woocommerce-products-filter/index.php on line 890
to me it seems at #0 trace the cache plugin couldn’t digest the create_function() closure or smt like that.
This leads to a question: are there plans to improve on the deprecated create_function() logic in the plugin code or it’s impossible due to backward compatibility, etc?
and finally a thing i found weird: in the wp admin, plugins panel the WOOF plugin shows version “2.1.8” (instead of 1.2.8 i guess o.O) what can be the reason? Maybe it’s bc the admin is using hungarian translation and that screws the format?
Thanks for reply!
Best wishes,
Viktor
The WP error log is flooded with these entries:
The WC_Order::reduce_order_stock function is deprecated since version 3.0. Replace with wc_reduce_stock_levels.
This is caused by line 212 of woo-payment-gateway-payinstore.php.
Could you please be asd kind as to fix this. Thank you.
Best regards,
Endre
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->shop_name() function is deprecated since version 2.0. Replace with $this->shop_name().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->shop_address() function is deprecated since version 2.0. Replace with $this->shop_address().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->get_header_logo_id() function is deprecated since version 2.0. Replace with $this->get_header_logo_id().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->billing_address() function is deprecated since version 2.0. Replace with $this->billing_address().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->ships_to_different_address() function is deprecated since version 2.0. Replace with $this->ships_to_different_address().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->invoice_date() function is deprecated since version 2.0. Replace with $this->invoice_date().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->order_number() function is deprecated since version 2.0. Replace with $this->order_number().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->order_date() function is deprecated since version 2.0. Replace with $this->order_date().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->payment_method() function is deprecated since version 2.0. Replace with $this->payment_method().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->get_order_items() function is deprecated since version 2.0. Replace with $this->get_order_items().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->get_shipping_notes() function is deprecated since version 2.0. Replace with $this->get_shipping_notes().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->get_woocommerce_totals() function is deprecated since version 2.0. Replace with $this->get_woocommerce_totals().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->get_footer() function is deprecated since version 2.0. Replace with $this->get_footer().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->get_template_name() function is deprecated since version 2.0. Replace with $this->get_template_name().
2022-02-24T09:18:38+00:00 WARNING The $wpo_wcpdf->template_styles() function is deprecated since version 2.0. Replace with $this->template_styles().
]]>