Hi,
I am running WP 5.3.2 with Toolset Types, Access and Views (all current version)
Toolset Access is v 2.8.2.1
The server is running on PHP 7.4
In my logs I constantly see the following error:
`[Mon Jan 13 15:42:33.403799 2020] [proxy_fcgi:error] [pid 17177:tid 140116555147008] [client xxx.xxx.xxx.3:0] AH01071: Got error 'PHP message: PHP Warning: Creating default object from empty value in /wp-content/plugins/types-access/application/controllers/permissions_post_types.php on line 190', referer: [any URL frontend or wp-admin that I open]`
Thank you,
Adrian
Hello,
The problem you mentioned above is abnormal, please try these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
I did a test and if I deactivate Toolset Access, there are no more errors. So Access is the offending plugin, as can be seen in the log. The error hints at the fact that the code has not been fully optimized for php7+.
Please pass this along to the dev team so they can investigate and update the code throwing this warning.
Thank you.
Thanks for the details, I can duplicated the same problem, and have escalated this issue, will update here if there is any news.
It is fixed in next version of Toolset Access plugin, which is under QA status, will be released soon.
Access 2.8.4 is released, you can download it here:
https://toolset.com/account/downloads/
Please test it and feedback if the problem is fixed, thanks