• Resolved covalenciawebs

    (@cowalenciawebs)


    Hi, I have created a Contact Form 7 register form where I manually create user before send it.

    When All in one WP Security is active after execute $user_id = wp_insert_user($user_data); it causes error and doesn’t continue. When I desactive the plugin everything goes right.

    Do you know what can be happening? I don’t find any setting in the plugin to allow manual users registration.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @cowalenciawebs

    It might be user registration audit log saving stack trace issue. If you have enabled the debug log you can see the error in error_log

    If it is regarding PHP Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, null given in wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility.php:817

    This has been recently identified issue and fixed in our development version which can be downloaded here.

    https://gofile.io/d/Qvn1J1

    It will then be available in the next release.

    Thread Starter covalenciawebs

    (@cowalenciawebs)

    I have updated the plugin and know seems to work correctly. I will check it a few days more.

    Thank you very much.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    @cowalenciawebs

    Ok, If still any issue let us know.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with wp_insert_user’ is closed to new replies.