• Resolved webprofsolutions

    (@webprofsolutions)


    Hi guys, I’m currently building a website offline and I’m using your plugin for user management. However, when I attempt to upload a profile image on the front end it causes WordPress to crash.

    1. I click on the button of the default pic to change it.
    2. I click on upload avatar, select image, crop it and click on apply.
    3. This immediately returns the error message “There has been a critical error on this website”
    4. Once I click back to go back to the previous page, the websites start working properly again. The error only occurs when I try to change profile pictures.

    Please what can I do to resolve this issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support alexrollin

    (@alexrollin)

    Can you please share the error from error log? Or you can enable the debug to see the error generated and based on that we can help you solve the issue.

    Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in C:\OpenServer\domains\kkn\wp-content\plugins\userswp\includes\helpers\misc.php:167
    Stack trace:
    #0 C:\OpenServer\domains\kkn\wp-content\plugins\userswp\includes\helpers\misc.php(167): imagecopyresampled()
    #1 C:\OpenServer\domains\kkn\wp-content\plugins\userswp\includes\class-forms.php(274): uwp_resizeThumbnailImage()
    #2 C:\OpenServer\domains\kkn\wp-content\plugins\userswp\includes\class-forms.php(76): UsersWP_Forms->process_image_crop()
    #3 C:\OpenServer\domains\kkn\wp-includes\class-wp-hook.php(307): UsersWP_Forms->handler()
    #4 C:\OpenServer\domains\kkn\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters()
    #5 C:\OpenServer\domains\kkn\wp-includes\plugin.php(476): WP_Hook->do_action()
    #6 C:\OpenServer\domains\kkn\wp-content\plugins\userswp\includes\class-userswp.php(925): do_action()
    #7 C:\OpenServer\domains\kkn\wp-includes\class-wp-hook.php(307): UsersWP->load_plugin_textdomain()
    #8 C:\OpenServer\domains\kkn\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters()
    #9 C:\OpenServer\domains\kkn\wp-includes\plugin.php(476): WP_Hook->do_action()
    #10 C:\OpenServer\domains\kkn\wp-settings.php(598): do_action()
    #11 C:\OpenServer\domains\kkn\wp-config.php(96): require_once(‘C:\\OpenServer\\d…’)
    #12 C:\OpenServer\domains\kkn\wp-load.php(50): require_once(‘C:\\OpenServer\\d…’)
    #13 C:\OpenServer\domains\kkn\wp-admin\admin.php(34): require_once(‘C:\\OpenServer\\d…’)
    #14 C:\OpenServer\domains\kkn\wp-admin\user-edit.php(10): require_once(‘C:\\OpenServer\\d…’)
    #15 C:\OpenServer\domains\kkn\wp-admin\profile.php(18): require_once(‘C:\\OpenServer\\d…’)
    #16 {main}
    thrown

    Plugin Author Stiofan

    (@stiofansisland)

    I think this might be related to another issue where there is a security setting on the server, the fix will be released tomorrow. Please post back if that does not fix your issue.

    Thanks,

    Stiofan

    Hi,For the pass month every time I upload a photo and sorted in the manager of Nexgen gallery the whole website crashes.Sometimes it comes back in a few hours, but today its sill down the last 12 hours.I cleared my cookies, cache and restarted my iMac.Still get this 403 forbidden message.Need help? thx

    Plugin Contributor Paolo

    (@paoltaia)

    Hi, this is the support forum for the UsersWP plugin, it appears that you are having problems with another plugin? If that’s the case, you should open a new support ticket in tje nextgen gallery forum. https://ww.wp.xz.cn/support/plugin/nextgen-gallery/
    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Uploading profile image crashes wordpress’ is closed to new replies.