Deprecation warnings upgrading to PHP 8.1

[ad_1]

Hey!

Thank you for sharing this plugin with the community.

I just updated to PHP 8.1. With WP-debug on, I get these deprecation notifications:

Deprecated: Calling static trait method DevOwl\RealCustomPostOrder\Vendor\MatthiasWeb\Utils\Localization::getParentLanguageFolder is deprecated, it should only be called on a class using the trait in /home/removed/wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Core.php on line 76

Deprecated: Calling static trait method DevOwl\RealCustomPostOrder\Vendor\MatthiasWeb\Utils\Localization::getParentLanguageFolder is deprecated, it should only be called on a class using the trait in /home/removed/wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Core.php on line 76

Deprecated: Calling static trait method DevOwl\RealCustomPostOrder\Vendor\MatthiasWeb\Utils\Localization::getParentLanguageFolder is deprecated, it should only be called on a class using the trait in /home/removed/wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Assets.php on line 556

Deprecated: Calling static trait method DevOwl\RealCustomPostOrder\Vendor\MatthiasWeb\Utils\Localization::getParentLanguageFolder is deprecated, it should only be called on a class using the trait in /home/removed/wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Assets.php on line 556

Deprecated: Calling static trait method DevOwl\RealCustomPostOrder\Vendor\MatthiasWeb\Utils\Localization::getParentLanguageFolder is deprecated, it should only be called on a class using the trait in /home/removed/wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Assets.php on line 556

Deprecated: Calling static trait method DevOwl\RealCustomPostOrder\Vendor\MatthiasWeb\Utils\Localization::getParentLanguageFolder is deprecated, it should only be called on a class using the trait in /home/removed/wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Assets.php on line 556

Deprecated: dirname(): Passing null to parameter #1 ($path) of type string is deprecated in /home/removed/wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Assets.php on line 62

Is that something you can reproduce?

I’ll be happy to test any update prepared for PHP 8.1

Kind regards,

Bjarne

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer