• Resolved ammo69

    (@ammo69)


    On WP version 6.8.3 / PHP 8.3 my site experienced problems with this plugin.

    type E_ERROR caused by line nr. 76 of the file wp-content/plugins/user-access-manager/src/Command/GroupCommand.php. Error: Uncaught Error: Cannot call constructor in wp-content/plugins/user-access-manager/src/Command/GroupCommand.php:76

    Stack trace:
    #0 wp-content/plugins/user-access-manager/init.php(258): UserAccessManager\Command\GroupCommand->__construct()
    #1 wp-content/plugins/user-access-manager/user-access-manager.php(77): initUserAccessManger()
    #2 wp-includes/class-wp-hook.php(341): initUam()
    #3 wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #4 wp-includes/plugin.php(522): WP_Hook->do_action()
    #5 wp-settings.php(742): do_action()
    #6 wp-config.php(115): require_once(‘/home/xxxxxxxxxxx’)

    Now I have WP 6.9, still the same error. It looks like the plugin does function but this is a bit weird. Are you @gm_alex still developing this (8 months ago latest update) or should I look for an alternative?

    Best regards, AMMO

Viewing 5 replies - 31 through 35 (of 35 total)
  • Thread Starter ammo69

    (@ammo69)

    The error message I am seeing now indicates (according to Gemini) that there is a coding error in the plugin’s GroupCommand.php file. The code attempts to call a “constructor” (a startup function) that either does not exist or cannot be called. This is a specific error that frequently occurs in newer PHP versions (my server is running PHP 8.3).

    I installed 2.3.8. So far no problems. I have to wait till tomorrow to find out. I’ll let you know.

    Thanks, AMMO

    Plugin Author gm_alex

    (@gm_alex)

    @ammo69 I don’t get it, to be honest. Is everything now fine with 2.3.8, or are you still getting errors?

    Thread Starter ammo69

    (@ammo69)

    @gm_alex
    I have checked the latest error logs for my domain. There have been no crashes or fatal errors since Friday’s update. My site is stable and so is the plugin. The issues are resolved for now. Thanks again.

    @ammo69 @helmuthb @rubin-sev @laurent06

    Have these issues been resolved? I want to make sure before updating my own site.

    EDIT: Ah, I see now that most of you have stated the issue has been resolved, my apologies this was a long thread.

    Best,

    • This reply was modified 2 months, 3 weeks ago by annaam. Reason: I was confused, and am now not
    Thread Starter ammo69

    (@ammo69)

    @annaam As far as I can tell, it seems to be working fine again now.

Viewing 5 replies - 31 through 35 (of 35 total)

You must be logged in to reply to this topic.