You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.
Can you reproduce this issue on default Wordpress theme (eg Storefront)?
Yes
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
Yes
What product versions and settings are you using when this issue occurs?
PHP: 7.2
WordPress: 4.9.4
WooCommerce: 3.3.3
Polylang: 2.3.2
Hyyan WooCommerce Polylang Integration: 1.0.4
Browser: Firefox 58
Steps to Reproduce
Go to any WP admin page
What I Expected
No errors
What Happened Instead
The following error is displayed:
Deprecated: Function create_function() is deprecated in /home/litoffde/public_html/wp-content/plugins/woo-poly-integration/vendor/class.settings-api.php on line 108
Line 108 is:
Hmmm, This is a problem related to woopoly dependency tareq1988/wordpress-settings-api-class
It would be better to replace this with an anonymous function. I will fix this later this week and see if it is related to #310
Can you reproduce this issue on default Wordpress theme (eg Storefront)?
Yes
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
Yes
What product versions and settings are you using when this issue occurs?
Steps to Reproduce
What I Expected
No errors
What Happened Instead
The following error is displayed:
Deprecated: Function create_function() is deprecated in /home/litoffde/public_html/wp-content/plugins/woo-poly-integration/vendor/class.settings-api.php on line 108
Line 108 is:
$callback = create_function('', 'echo "' . str_replace( '"', '\"', $section['desc'] ) . '";');
The create_function is deprecated in PHP 7.2, so it must be changed for a similar alternative
WordPress Environment
The text was updated successfully, but these errors were encountered: