• Resolved sootsnoot

    (@sootsnoot)


    Just installed WordPress 6.6.2 with BuddyPress 14.1.0 and Force Login 5.6.3 for a horse boarding barn. We have about 20 boarders and staff who should have accounts. Manually adding 20 accounts one by one is really a pain. So I installed this plugin 1.27.5.

    I then tested it by exporting the existing accounts (just admin and one subscriber user I had added manually) to a csv file. I edited the csv by deleting the admin user and duplicating the subscriber row, then editing the user_login and user_email fields in that row appropriately, along with the other user-specific fields like name and such. I left the user_pass field unchanged, expecting that would give the new users the same password as the original subscriber.

    Then I imported the edited csv file. The import seemed to work okay, the new user showed up in the admin dashboard as expected, although I couldn’t login with the password from the original subscriber whose row I had duplicated.

    HOWEVER, I soon received the following email notification from wordpress@my-site-name:

    <pre>Howdy!

    WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Import and export users and customers.

    First, visit your website (https://wp.freestylefarm.org/) and check for any visible issues. Next, visit the page where the error was caught (https://wp.freestylefarm.org/wp-admin/tools.php?page=acui&tab=homepage) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

    https://wp.freestylefarm.org/wp-login.php?action=enter_recovery_mode&rm_token=kGF34INcFvARBZX7SsnB8r&rm_key=cu6IXLEbfL31O6nYka7RSU

    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.6.2
    Active theme: BuddyX (version 4.7.4)
    Current plugin: Import and export users and customers (version 1.27.5)
    PHP version 8.0.30.2



    Error Details
    =============
    An error of type E_ERROR was caused in line 33 of the file /var/www/wp-content/plugins/import-users-from-csv-with-meta/addons/melapress-login-security.php. Error message: Uncaught Error: Class "PPM_WP_History" not found in /var/www/wp-content/plugins/import-users-from-csv-with-meta/addons/melapress-login-security.php:33
    Stack trace:
    #0 /var/www/wp-includes/class-wp-hook.php(324): ACUI_MelapressLoginSecurity->import(Array, Array, 6, Array, Array, Array, false, false, true, true)
    #1 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(632): do_action('post_acui_impor...', Array, Array, 6, Array, Array, Array, false, false, true, true)
    #4 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(815): ACUI_Import->import_user(3, 37, Array, Array, Array, Array, Array)
    #5 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(244): ACUI_Import->import_users('/tmp/phpHHlpBE', Array, false, false)
    #6 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(25): ACUI_Import->fileupload_process(Array, false)
    #7 /var/www/wp-includes/class-wp-hook.php(324): ACUI_Import->show('')
    #8 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #9 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /var/www/wp-admin/admin.php(259): do_action('tools_page_acui')
    #11 /var/www/wp-admin/tools.php(40): require_once('/var/www/wp-adm...')
    #12 {main}
    thrown
    </pre>

    The error says that Class “PPM_WP_History” was not found in /var/www/wp-content/plugins/import-users-from-csv-with-meta/addons/melapress-login-security.php:33

    Does mean that some other plugin is required, or is it just a bug in this plugin?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Javier Carazo

    (@carazo)

    Sorry for any inconvenience.

    Version 1.27.6 should fix this problem. Please update when you see it available.

    Thread Starter sootsnoot

    (@sootsnoot)

    I just updated to 1.27.7, and the email with the traceback no longer arrives. But on the import page, I still get the message about a critical error on the website, see: https://drive.google.com/file/d/1uKnBqhybZzD5z4X4CWgxeQZ07cbUwKwd/view?usp=sharing

    Though as before, even when I got the traceback email, the user did seem to get created correctly.

    Thread Starter sootsnoot

    (@sootsnoot)

    I just tried again today, and still get the critical error message as shown at https://drive.google.com/file/d/1uKnBqhybZzD5z4X4CWgxeQZ07cbUwKwd/view?usp=sharing

    And this time I also get the email with traceback:

    <pre>
    Howdy!

    WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Import and export users and customers.

    First, visit your website (https://wp.freestylefarm.org/) and check for any visible issues. Next, visit the page where the error was caught (https://wp.freestylefarm.org/wp-admin/tools.php?page=acui) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

    https://wp.freestylefarm.org/wp-login.php?action=enter_recovery_mode&rm_token=MxjCPuE7ajwpHxnRbuu8kr&rm_key=ThKof64xKJtT7Z1MGhC4ti

    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.6.2
    Active theme: Divi (version 4.27.2)
    Current plugin: Import and export users and customers (version 1.27.7)
    PHP version 8.0.30.2



    Error Details
    =============
    An error of type E_ERROR was caused in line 44 of the file /var/www/wp-content/plugins/import-users-from-csv-with-meta/addons/melapress-login-security.php. Error message: Uncaught Error: Call to undefined method PPMWP\PPM_WP_History::_push() in /var/www/wp-content/plugins/import-users-from-csv-with-meta/addons/melapress-login-security.php:44
    Stack trace:
    #0 /var/www/wp-includes/class-wp-hook.php(324): ACUI_MelapressLoginSecurity->import(Array, Array, 21, Array, Array, Array, false, false, true, true)
    #1 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(632): do_action('post_acui_impor...', Array, Array, 21, Array, Array, Array, false, false, true, true)
    #4 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(815): ACUI_Import->import_user(3, 15, Array, Array, Array, Array, Array)
    #5 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(244): ACUI_Import->import_users('/tmp/phpppjbEE', Array, false, false)
    #6 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(25): ACUI_Import->fileupload_process(Array, false)
    #7 /var/www/wp-includes/class-wp-hook.php(324): ACUI_Import->show('')
    #8 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #9 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /var/www/wp-admin/admin.php(259): do_action('tools_page_acui')
    #11 /var/www/wp-admin/tools.php(40): require_once('/var/www/wp-adm...')
    #12 {main}
    thrown
    </pre>

    Thread Starter sootsnoot

    (@sootsnoot)

    I’m still getting this error, but I have found that deactivating Melapress Login Security 1.3.1 makes it go away…

    Plugin Author Javier Carazo

    (@carazo)

    I have just made a whole test and I have readapt the method that craetes the error.

    I the next version you will be able to keep the plugin active (Melapress Login Security).

    Thread Starter sootsnoot

    (@sootsnoot)

    Melapress Login Security just released an update, to version 2.0.0. So I updated and reactivated it. I still get the “Error: Class “PPMWP\PPM_WP_History” not found”, with an emailed traceback that looks similar but with different line numbers. Deactivating Melapress Login Security before import still fixes the problem. Guess I just need to wait for your next update to see if I still get it with version 2.0.0 of Melapress activated.

    Plugin Author Javier Carazo

    (@carazo)

    I refer to the next version of this plugin.

    It will be availble soon.

    Thread Starter sootsnoot

    (@sootsnoot)

    Well, Javier, I updated this plugin to the new 1.27.8 and tried again with the corrected csv file and the updated Melapress Login Security 2.0.0 activated. Unfortunately the problem persists. Here is the email:

    <pre>
    WordPress version 6.6.2
    Active theme: Divi (version 4.27.2)
    Current plugin: Import and export users and customers (version 1.27.8)
    PHP version 8.0.30.2



    Error Details
    =============
    An error of type E_ERROR was caused in line 33 of the file /var/www/wp-content/plugins/import-users-from-csv-with-meta/addons/melapress-login-security.php. Error message: Uncaught Error: Class "PPMWP\PPM_WP_History" not found in /var/www/wp-content/plugins/import-users-from-csv-with-meta/addons/melapress-login-security.php:33
    Stack trace:
    #0 /var/www/wp-includes/class-wp-hook.php(324): ACUI_MelapressLoginSecurity->import(Array, Array, 41, Array, Array, Array, false, false, true, true)
    #1 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(632): do_action('post_acui_impor...', Array, Array, 41, Array, Array, Array, false, false, true, true)
    #4 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(815): ACUI_Import->import_user(2, 15, Array, Array, Array, Array, Array)
    #5 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(244): ACUI_Import->import_users('/tmp/phpblFdjA', Array, false, false)
    #6 /var/www/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(25): ACUI_Import->fileupload_process(Array, false)
    #7 /var/www/wp-includes/class-wp-hook.php(324): ACUI_Import->show('')
    #8 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #9 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /var/www/wp-admin/admin.php(259): do_action('tools_page_acui')
    #11 /var/www/wp-admin/tools.php(40): require_once('/var/www/wp-adm...')
    #12 {main}
    thrown
    </pre>

    And as before, deactivating Melapress Login Security resolves the problem.

    Plugin Author Javier Carazo

    (@carazo)

    I will fix it in the future, at least next week. The addon for Melapress Login Security is causing repeated updates from my side and gives a very bad feeling to the rest of the users.

    As you are really few affected (for now only you who notify me) please, when importing, disable the other addon.

    When a reasonable time has passed, I will do a complete review and release a new version but I can’t go around creating updates to tens of thousands of users repeatedly for such a specific case.

    Thread Starter sootsnoot

    (@sootsnoot)

    I am happy to do that. Not my intent to rake you over the coals. As I’ve said, I think you do a fabulous job supporting this plug-in, and I am grateful for it!

    Plugin Author Javier Carazo

    (@carazo)

    Thank you, if you want to thank us for the work we do for the community, you can always leave a positive comment here: https://www.ads-software.com/support/plugin/import-users-from-csv-with-meta/reviews/#new-post

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.