Hi @alan316
Sorry to hear about this unfortunate behavior. We have tested our plugin in PHP 8.1 environment but we did not find any problems. Can you please share the screenshots/errors of the issues, or the debug log so that we can identify and fix the problems?
Thank you.
Hi
This is the error that shows at the top of the screen: Deprecated: Optional parameter $items declared before required parameter $fields is implicitly treated as a required parameter in /home/sandbac1/public_html/wp-content/plugins/tlp-team/app/Helpers/Deprecated.php on line 82
I hope that helps
Many thanks
Alan
Hello @alan316
We have identified the problem and pushed an update. The issue should be solved. Please update the plugin and let us know.
Thank you.
-
This reply was modified 3 years, 8 months ago by
SM Rafiz.
Hello
It is better. The error message at the top of the homepage has now gone and I can access the WordPress dashboard, but I get the “Oops! That page can’t be found” error when I click on any of the team members.
On the “Edit Member” page, just above “Member Info” there is the following message: “Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sandbac1/public_html/wp-includes/formatting.php on line 4369”
Also on the same page at the very bottom this message is repeated 10 times: “null to parameter #1 ($string) of type string is deprecated in /home/sandbac1/public_html/wp-includes/formatting.php on line 2772”
Regards
Alan
Further to my last post, I have switched back to PHP 7.4 and the error messages on the Edit Member page are removed but the link to the team member page still doesn’t work.
Alan
Hi @alan316
Please check the below suggestions:
1. To address the issue regarding the 404 error in the team details page, you need to re-save the permalink. Go to Dashboard->Settings->Permalinks and click on Save Changes. It will resolve the issue.
2. The deprecation messages are not associated with the Team plugin. You can deactivate the plugin and still see similar types of deprecation messages in some other dashboard areas.
These notices you are seeing are NOT errors. They are deprecations, i.e advanced warnings that something will change in a future version of PHP. Everything is still working as expected. You see these messages because WP_DEBUG is turned on. You can easily disable WP_DEBUG. Please follow this guide.
Thank you for using our Team plugin. Have a nice day.
Hi
Yes that’s fixed it.
Thanks for your help – all good now.
Alan