• Resolved johnfrickinsmith

    (@johnfrickinsmith)


    Fatal error. Is a fix coming or should I uninstall this via FTP (can’t get to the dash)? The plugin was set to update automatically. You can read the error message by trying to go to the site.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 30 total)
  • Take a look at the thread here. I’ve posted up a temp fix:

    https://github.com/GM-Alex/user-access-manager/issues/315

    Thread Starter johnfrickinsmith

    (@johnfrickinsmith)

    Thanks! I renamed the plugin folder this a.m. to get into WP-admin, and there I saw the update, and now all is well. Many thanks for that quick update and for this suggestion.

    Upgrade to/at 2.2.0 is broken. TRying to follow any of the above posts/comments to fix and can’t find the fix. Help!

    Plugin Author GM_Alex

    (@gm_alex)

    Please update to version 2.2.2, that should fix the issue.

    I see 2.2.3 pushed and I updated. I (still) have problems going into view all users in admin. I see no registered users listed. This started with 2.2.1 I believe. If I deactivate UAM I can access and see all users listed on my site. Reactivate 2.2.3 and problem comes back.

    Plugin Author GM_Alex

    (@gm_alex)

    Could you provide me an error log? Has anyone else such issues?

    I turned on debug and got this output:
    Fatal error: Uncaught TypeError: Argument 1 passed to UserAccessManager\Controller\Backend\UserObjectController::addUserColumn() must be of the type string, null given, called in /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/class-wp-hook.php on line 287 and defined in /home/f13n144e/myinnerthoughts.net/wpblog/wp-content/plugins/user-access-manager/src/Controller/Backend/UserObjectController.php:50 Stack trace: #0 /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/class-wp-hook.php(287): UserAccessManager\Controller\Backend\UserObjectController->addUserColumn(NULL, ‘when_last_login’, 32) #1 /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/plugin.php(212): WP_Hook->apply_filters(NULL, Array) #2 /home/f13n144e/myinnerthoughts.net/wpblog/wp-admin/includes/class-wp-users-list-table.php(582): apply_filters(‘manage_users_cu…’, ”, ‘when_last_login’, 32) #3 /home/f13n144e/myinnerthoughts.net/wpblog/wp-admin/includes/class-wp-users-list-table.php(398): WP_Users_List_Table->single_row(Object(WP_User), ”, ”, 0) #4 /ho in /home/f13n144e/myinnerthoughts.net/wpblog/wp-content/plugins/user-access-manager/src/Controller/Backend/UserObjectController.php on line 50

    • This reply was modified 3 years, 9 months ago by songiuno. Reason: correction

    Debug log:
    [13-Feb-2021 21:49:25 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to UserAccessManager\Controller\Backend\UserObjectController::addUserColumn() must be of the type string, null given, called in /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/class-wp-hook.php on line 287 and defined in /home/f13n144e/myinnerthoughts.net/wpblog/wp-content/plugins/user-access-manager/src/Controller/Backend/UserObjectController.php:50
    Stack trace:
    #0 /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/class-wp-hook.php(287): UserAccessManager\Controller\Backend\UserObjectController->addUserColumn(NULL, ‘when_last_login’, 32)
    #1 /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/plugin.php(212): WP_Hook->apply_filters(NULL, Array)
    #2 /home/f13n144e/myinnerthoughts.net/wpblog/wp-admin/includes/class-wp-users-list-table.php(582): apply_filters(‘manage_users_cu…’, ”, ‘when_last_login’, 32)
    #3 /home/f13n144e/myinnerthoughts.net/wpblog/wp-admin/includes/class-wp-users-list-table.php(398): WP_Users_List_Table->single_row(Object(WP_User), ”, ”, 0)
    #4 /ho in /home/f13n144e/myinnerthoughts.net/wpblog/wp-content/plugins/user-access-manager/src/Controller/Backend/UserObjectController.php on line 50
    [13-Feb-2021 21:49:31 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to UserAccessManager\Controller\Backend\UserObjectController::addUserColumn() must be of the type string, null given, called in /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/class-wp-hook.php on line 287 and defined in /home/f13n144e/myinnerthoughts.net/wpblog/wp-content/plugins/user-access-manager/src/Controller/Backend/UserObjectController.php:50
    Stack trace:
    #0 /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/class-wp-hook.php(287): UserAccessManager\Controller\Backend\UserObjectController->addUserColumn(NULL, ‘when_last_login’, 32)
    #1 /home/f13n144e/myinnerthoughts.net/wpblog/wp-includes/plugin.php(212): WP_Hook->apply_filters(NULL, Array)
    #2 /home/f13n144e/myinnerthoughts.net/wpblog/wp-admin/includes/class-wp-users-list-table.php(582): apply_filters(‘manage_users_cu…’, ”, ‘when_last_login’, 32)
    #3 /home/f13n144e/myinnerthoughts.net/wpblog/wp-admin/includes/class-wp-users-list-table.php(398): WP_Users_List_Table->single_row(Object(WP_User), ”, ”, 0)
    #4 /ho in /home/f13n144e/myinnerthoughts.net/wpblog/wp-content/plugins/user-access-manager/src/Controller/Backend/UserObjectController.php on line 50

    Plugin Author GM_Alex

    (@gm_alex)

    Thank you, new version will be available within the next 30 minutes.

    2.2.4 fixed the error, thank you!

    • This reply was modified 3 years, 9 months ago by songiuno.

    2.2.4 on, and the issue is still occuring.

    Fatal error: Uncaught TypeError: Argument 2 passed to UserAccessManager\Controller\Frontend\PostController::getAttachedFile() must be of the type int, string given, called in /home/assowvqw/public_html/wp-includes/class-wp-hook.php on line 287 and defined in /home/assowvqw/public_html/wp-content/plugins/user-access-manager/src/Controller/Frontend/PostController.php:336 Stack trace: #0 /home/assowvqw/public_html/wp-includes/class-wp-hook.php(287): UserAccessManager\Controller\Frontend\PostController->getAttachedFile(”, ”) #1 /home/assowvqw/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array) #2 /home/assowvqw/public_html/wp-includes/post.php(521): apply_filters(‘get_attached_fi…’, false, ”) #3 /home/assowvqw/public_html/wp-content/plugins/templatesnext-toolkit/inc/meta-box/inc/fields/image.php(103): get_attached_file(”) #4 /home/assowvqw/public_html/wp-content/plugins/templatesnext-toolkit/inc/meta-box/inc/fields/single-image.php(61): RWMB_Image_Field::file_info(”, Array) #5 /home/assowvqw/p in /home/assowvqw/public_html/wp-content/plugins/user-access-manager/src/Controller/Frontend/PostController.php on line 336

    Plugin Author GM_Alex

    (@gm_alex)

    Version 2.2.5 should fix that issue, hopefully I now got all type issues. WordPress switches int to string sometimes which makes trouble.

    Thanks a lot ! Did work perfectly ??

    Fatal in 2.2.5

    Fatal error: Uncaught TypeError: Argument 1 passed to UserAccessManager\Controller\Frontend\PostController::filterRawPosts() must be of the type array, null given, called in C:\Xampp\apps\wordpress\htdocs\wp-content\plugins\user-access-manager\src\Controller\Frontend\PostController.php on line 310 and defined in C:\Xampp\apps\wordpress\htdocs\wp-content\plugins\user-access-manager\src\Controller\Frontend\PostController.php:280 Stack trace: #0 C:\Xampp\apps\wordpress\htdocs\wp-content\plugins\user-access-manager\src\Controller\Frontend\PostController.php(310): UserAccessManager\Controller\Frontend\PostController->filterRawPosts(NULL) #1 C:\Xampp\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(289): UserAccessManager\Controller\Frontend\PostController->showPosts(NULL) #2 C:\Xampp\apps\wordpress\htdocs\wp-includes\plugin.php(255): WP_Hook->apply_filters(NULL, Array) #3 C:\Xampp\apps\wordpress\htdocs\wp-includes\class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array) #4 C:\Xampp\apps\wordpress\htdocs\wp-incl in C:\Xampp\apps\wordpress\htdocs\wp-content\plugins\user-access-manager\src\Controller\Frontend\PostController.php on line 280

    • This reply was modified 3 years, 9 months ago by martenw.
    Plugin Author GM_Alex

    (@gm_alex)

    Oh come on, hopefully I have found all now. Please check version 2.2.6.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘2.2.0 update shutdown wordpress site with critical error’ is closed to new replies.