WPIntell

Source evidence

Problem with PHP 8

WPFront User Role Editor · support · 2022-05-27T20:35:00+00:00

mixedsentiment
highseverity
0.94relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 32 rows with source links

18.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
therealgilles resolved
The plugin seems incompatible with PHP 8: Uncaught Error: Attempt to assign property “type” on array in …/wp-content/plugins/wpfront-user-role-editor/includes/widget/class-widget-permissions.php:112 It may be time to test and fix 🙂 Looks like I reported this issue 1.5 years back: https://wordpress.org/support/topic/php-warning-attempt-to-assign-property-type-of-non-object/ and it still hasn’t been addressed. Hello @chamois_blanc , Thank you for reporting, will fix it in the next version. Thanks! Hi, You mentioned that this would be fixed in the next version and that was 2 months ago and there has been no new version, so unfortunately this is not resolved. In php 8.1 this now becomes a warning and a PHP fatal error ie [03-Aug-2022 22:29:06 UTC] PHP Warning: Attempt to read property "type" on array in ...wp-content\plugins\wpfront-user-role-editor\includes\widget\class-widget-permissions.php on line 112 [03-Aug-2022 22:29:06 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property "type" on array in ...\wp-content\plugins\wpfront-user-role-editor\includes\widget\class-widget-permissions.php:112 Stack trace: #0 ...\wp-content\plugins\wpfront-user-role-editor\includes\widget\class-widget-permissions.php(230): WPFront\URE\Widget\WPFront_User_Role_Editor_Widget_Permissions->get_meta_data(Array) When can we expect an update of this plugin please? Thanks Janette Hi @chamois_blanc and @jtowell , Really sorry about the delay. Can you please try the development version? https://downloads.wordpress.org/plugin/wpfront-user-role-editor.zip Thank you! Hi Syam, Thank you this has resolved the issue. It is interesting though that the version you linked to has the same version number as I already had installed ie v3.2.1.11184 but different code. Regards Janette

Comments

5 shown
therealgilles 2022-05-27T20:39:00+00:00

Looks like I reported this issue 1.5 years back: https://wordpress.org/support/topic/php-warning-attempt-to-assign-property-type-of-non-object/ and it still hasn’t been addressed.

Swathi S 2022-05-30T04:59:00+00:00

Hello @chamois_blanc , Thank you for reporting, will fix it in the next version. Thanks!

jtowell 2022-08-03T22:59:00+00:00

Hi, You mentioned that this would be fixed in the next version and that was 2 months ago and there has been no new version, so unfortunately this is not resolved. In php 8.1 this now becomes a warning and a PHP fatal error ie [03-Aug-2022 22:29:06 UTC] PHP Warning: Attempt to read property "type" on array in ...wp-content\plugins\wpfront-user-role-editor\includes\widget\class-widget-permissions.php on line 112 [03-Aug-2022 22:29:06 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property "type" on array in ...\wp-content\plugins\wpfront-user-role-editor\includes\widget\class-widget-permissions.php:112 Stack trace: #0 ...\wp-content\plugins\wpfront-user-role-editor\includes\widget\class-widget-permissions.php(230): WPFront\URE\Widget\WPFront_User_Role_Editor_Widget_Permissions->get_meta_data(Array) When can we expect an update of this plugin please? Thanks Janette

Syam Mohan 2022-08-10T13:42:00+00:00

Hi @chamois_blanc and @jtowell , Really sorry about the delay. Can you please try the development version? https://downloads.wordpress.org/plugin/wpfront-user-role-editor.zip Thank you!

jtowell 2022-08-11T00:34:00+00:00

Hi Syam, Thank you this has resolved the issue. It is interesting though that the version you linked to has the same version number as I already had installed ie v3.2.1.11184 but different code. Regards Janette