• Resolved alan316

    (@alan316)


    I’m afraid this caused our site to crash today. Our host updated from PHP 7.4 to PHP 8.1 and I had to disable this plugin to resolve the problem while we were on 8.1.

    The host has temporarily set us back to PHP 7.4 but for security reasons they will make the change permanent in one month.

    We are using WordPress 6.0.2.

    I hope you can fix this soon as I would hate to have to remove it permanently, it’s a very useful plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support SM Rafiz

    (@srafiz)

    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.

    Thread Starter alan316

    (@alan316)

    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

    Plugin Support SM Rafiz

    (@srafiz)

    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 2 years, 5 months ago by SM Rafiz.
    Thread Starter alan316

    (@alan316)

    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

    Thread Starter alan316

    (@alan316)

    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

    Plugin Support SM Rafiz

    (@srafiz)

    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.

    Thread Starter alan316

    (@alan316)

    Hi

    Yes that’s fixed it.
    Thanks for your help – all good now.

    Alan

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not Compatible With PHP 8.1’ is closed to new replies.