• Resolved therealgilles

    (@chamois_blanc)


    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 ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter therealgilles

    (@chamois_blanc)

    Looks like I reported this issue 1.5 years back:
    https://www.ads-software.com/support/topic/php-warning-attempt-to-assign-property-type-of-non-object/

    and it still hasn’t been addressed.

    Plugin Support Swathi S

    (@swathiswpfront)

    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

    Plugin Author Syam Mohan

    (@syammohanm)

    Hi @chamois_blanc and @jtowell,

    Really sorry about the delay. Can you please try the development version?

    https://downloads.www.ads-software.com/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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with PHP 8’ is closed to new replies.