Home Forums Newsletter Plugin Support Lists names gone after 7.8.0 update

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #302143
    Matjaž Lesjak
    Participant

    Hey Stefano. All my lists lost their names after the 7.8.0 update.

    Types are now all private (they weren’t before). At least the subscribers are still there. I hope there’s a way to get them back, as I use lists to mark where I imported subscribers from for legal reasons.

    #302144
    Matjaž Lesjak
    Participant

    Update: I found, the lists are still saved in the db _options under newsletter_lists, so I can just manually re-enter them. Should I do that, or rather wait for a fix, so I don’t overwrite anything?

    #302146
    Stefano
    Keymaster

    Hi, sorry for this problem, the migration code should have copied the names to the new options set.

    Open an admin page of newsletter and change the URL with

    ?page=newsletter_system_backup

    instead of the

    ?page=newsletter_[something]

    The backup of the old options should be listed (probably version 7.7.0), and entering the options details (a full dump) you should find the lists.

    I wonder if your installation was so old that lists were not under the option key “newsletter_subscription_lists”, but under an older key.

    Let me know!

    #302150
    Matjaž Lesjak
    Participant

    Yeah the installation is from 2018. The lists were under _options / newsletter_lists.
    ?page=newsletter_system_backup gives me a critical error on line newsletter_extension_versions.0. But I got the lists names through phpmyadmin.

    Though I cannt seem to save them. I enter them back, hit save, reload page and all is empty again.

    #302151
    Matjaž Lesjak
    Participant

    Turned on debug. No error on lists page.

    The error on ?page=newsletter_system_backup is

    Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /var/www/vhosts/mojprihranek.si/httpdocs/wp-includes/formatting.php:1098 Stack trace: #0 /var/www/vhosts/mojprihranek.si/httpdocs/wp-includes/formatting.php(4600): wp_check_invalid_utf8() #1 /var/www/vhosts/mojprihranek.si/httpdocs/wp-content/plugins/newsletter/system/backup-view.php(55): esc_html() #2 /var/www/vhosts/mojprihranek.si/httpdocs/wp-content/plugins/newsletter/system/backup.php(8): include(‘…’) #3 /var/www/vhosts/mojprihranek.si/httpdocs/wp-content/plugins/newsletter/includes/module-admin.php(189): require(‘…’) #4 /var/www/vhosts/mojprihranek.si/httpdocs/wp-includes/class-wp-hook.php(308): NewsletterModuleAdmin->menu_page() #5 /var/www/vhosts/mojprihranek.si/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /var/www/vhosts/mojprihranek.si/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /var/www/vhosts/mojprihranek.si/httpdocs/wp-admin/admin.php(259): do_action() #8 {main} thrown in /var/www/vhosts/mojprihranek.si/httpdocs/wp-includes/formatting.php on line 1098

    #302344
    Matjaž Lesjak
    Participant

    Update on this: my other site with identical settings automatically updated to 7.8.2 (skipping .0 and .1) and I don’t have these issues with lists there. (Allthough the error in ?page=newsletter_system_backup is also there).

    P. S. Since all lists are prive now on the first site, I get this error on all my subscribe forms: “List “1” added to the form is not configured, skipped. This notice is shown only to administrators to help with configuration.”

    #302803
    Matjaž Lesjak
    Participant

    Update: I managed to fix the issue. After looking through the db, I found newsletter_lists field was full of everything but lists. After clearing the value, I was able to re-enter my list names and save it.

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