• Resolved yuenhoe

    (@yuenhoe)


    Hello,

    We’ve been using jetpack CRM for a long time now. Recently we’ve had to integrate a new login solution (a plugin called onelogin), and for some reason, when registering users with this plugin, we’re getting a critical error. The logs show the following:

    PHP Fatal error: Uncaught Error: Call to a member function getSettings() on bool in /var/www/html/wp-content/plugins/zero-bs-crm/includes/wh.config.lib.php:475\nStack trace:\n#0 /var/www/html/wp-content/plugins/zero-bs-crm/includes/wh.config.lib.php(55): WHWPConfigLib->loadFromDB()\n#1 /var/www/html/wp-content/plugins/zero-bs-crm/includes/ZeroBSCRM.Core.php(2099): WHWPConfigLib->__construct()\n#2 /var/www/html/wp-content/plugins/zero-bs-crm/includes/ZeroBSCRM.DAL3.Helpers.php(7039): ZeroBSCRM->checkSettingsSetup()\n#3 /var/www/html/wp-content/plugins/jetpackcrm-ext-wordpress-utilities/includes/class-zerobscrm-wordpressutilities.php(182): zeroBSCRM_getSetting()\n#4 /var/www/html/wp-includes/class-wp-hook.php(292): ZeroBSCRM_WordPressUtilities->store_user_register()\n#5 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()\n#6 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action()\n#7 /var/www/html/wp-includes/user.php(2119): do_action()\n#8 /var/www/html/wp-content/plugins/onelogin-saml-sso/php/functions.ph in /var/www/html/wp-content/plugins/zero-bs-crm/includes/wh.config.lib.php on line 475, referer:

    Seems like a problem that came from ZeroBSCRM_WordPressUtilities->store_user_register().

    Any help would be appreciated!

Viewing 1 replies (of 1 total)
  • Jay

    (@bluejay77)

    Hi @yuenhoe,

    It looks like the OneLogin plugin basically bypasses WP user management by default.

    We suspect there’s no WP user being created, and thus that extension (which relies on WP users) can’t create a contact.

    This is not something we can really troubleshoot on our end, as it requires an external database of users, which is a custom setup.

    Would you check if the setting in your plugin “Create user if not exists” fixes the issue for you? Here’s the screenshot of the setting:

    https://d.pr/i/N0VmH3

    Let us know how that goes!

Viewing 1 replies (of 1 total)
  • The topic ‘Error registering users in some cases’ is closed to new replies.