• Resolved quickshowkar

    (@quickshowkar)


    i cant send mail, i cant create newsletter to send mail, new user cant subscribe, cant do anything as im getting error as below
    Error Details
    =============
    An error of type E_ERROR was caused in line 11 of the file /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/emails/edit.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/emails/edit.php:11
    Stack trace:
    #0 /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/emails/edit.php(284): tnp_prepare_controls(Object(WP_Error), Object(NewsletterControls))
    #1 /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/includes/module-admin.php(177): require(‘/home4/ptmxngmy…’)
    #2 /home4/ptmxngmy/public_html/blog/wp-includes/class-wp-hook.php(324): NewsletterModuleAdmin->menu_page(”)
    #3 /home4/ptmxngmy/public_html/blog/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #4 /home4/ptmxngmy/public_html/blog/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /home4/ptmxngmy/public_html/blog/wp-admin/admin.php(260): do_action(‘admin_page_news…’)
    #6 {main}
      thrown


    WordPress version 6.8.1
    Current plugin: Newsletter (version 8.9.1)
    PHP version 8.2.18

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Hi, it seems the email cannot be loaded from the database What’s the URL you see on the browser?

    • This reply was modified 11 months, 1 week ago by Stefano Lissa.
    Plugin Author Stefano Lissa

    (@satollo)

    Anyway that error is about editing a newsletter, it’s not related to subscriptions or other actions. If you have other errors, could you please share more details?

    Thread Starter quickshowkar

    (@quickshowkar)

    while trying to subscribe in front end:

    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
    INSERT INTO wp_newsletter (email, name, surname, sex, status, ip, language, referrer, http_referer, token, country, city, region, last_activity, wp_user_id, updated) VALUES ('[email protected]', '', '', 'n', 'C', '27.34.64.160', '', '', '', 'da5444c430', '', '', '', '0', '0', '1751631386')
    Fatal error: Uncaught Error: Attempt to assign property “_new” on bool in /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/subscription/subscription.php:530 Stack trace: #0 /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/subscription/subscription.php(230): NewsletterSubscription->subscribe2(Object(TNP_Subscription)) #1 /home4/ptmxngmy/public_html/blog/wp-includes/class-wp-hook.php(324): NewsletterSubscription->hook_newsletter_action(‘s’, NULL, NULL) #2 /home4/ptmxngmy/public_html/blog/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #3 /home4/ptmxngmy/public_html/blog/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/plugin.php(313): do_action(‘newsletter_acti…’, ‘s’, NULL, NULL) #5 /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/plugin.php(280): Newsletter->do_action() #6 /home4/ptmxngmy/public_html/blog/wp-includes/class-wp-hook.php(324): Newsletter->hook_wp_loaded(”) #7 /home4/ptmxngmy/public_html/blog/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #8 /home4/ptmxngmy/public_html/blog/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /home4/ptmxngmy/public_html/blog/wp-settings.php(749): do_action(‘wp_loaded’) #10 /home4/ptmxngmy/public_html/blog/wp-config.php(100): require_once(‘/home4/ptmxngmy…’) #11 /home4/ptmxngmy/public_html/blog/wp-load.php(50): require_once(‘/home4/ptmxngmy…’) #12 /home4/ptmxngmy/public_html/blog/wp-blog-header.php(13): require_once(‘/home4/ptmxngmy…’) #13 /home4/ptmxngmy/public_html/blog/index.php(17): require(‘/home4/ptmxngmy…’) #14 {main} thrown in /home4/ptmxngmy/public_html/blog/wp-content/plugins/newsletter/subscription/subscription.php on line 530

    Thread Starter quickshowkar

    (@quickshowkar)

    Now while creating newsletter and saving, error is displayed for 2sec and page is reloaded and its blank like New blank

    Plugin Author Stefano Lissa

    (@satollo)

    That is a database error. Your tables are missing the primary key. Or missing the autoincrement option. Did you migrate them from another site?

    Thread Starter quickshowkar

    (@quickshowkar)

    nope, it was working fine, from last week it is giving me this error. what about completely wipe out database of newsletter, i deleted and reinstalled but database was not deleted, will fix if i complete delete newsletter with database, if yes how can i…??

    Thread Starter quickshowkar

    (@quickshowkar)

    from error.log:
    wp-content/plugins/newsletter/includes/module.php on line 939

    Thread Starter quickshowkar

    (@quickshowkar)

    i have found more error:

    This message was triggered by newsletter.

    Call stack:

    1. wp_die()
      wp-content/plugins/newsletter/includes/module-base.php:1255
    2. NewsletterModuleBase::dienow()
      wp-content/plugins/newsletter/subscription/subscription.php:219
    3. NewsletterSubscription->hook_newsletter_action()
      wp-includes/class-wp-hook.php:324
    4. do_action('newsletter_action')
      wp-content/plugins/newsletter/plugin.php:313
    5. Newsletter->do_action()
      wp-content/plugins/newsletter/plugin.php:280
    6. Newsletter->hook_wp_loaded()
      wp-includes/class-wp-hook.php:324
    7. do_action('wp_loaded')
      wp-settings.php:749
    Plugin Author Stefano Lissa

    (@satollo)

    Hi, you can delete all the tables newsletter*, the, when the plugin is reactivated, they will be recreated. If it was working, 99% you have crashed tables that just need to be repaired. Probably they’re myisam tables (innodb tables usually do not crash).

    Thread Starter quickshowkar

    (@quickshowkar)

    how to repair them…?

    Plugin Author Stefano Lissa

    (@satollo)

    You should ask the provider for a check, there is a specific command to send to the database. There is even a plugin, maybe wp optimizer able to send that command but I’m not sure.

    Plugin Support Michael Travan

    (@michael-travan)

    Hello,

    haven’t heard you back from more than 3 weeks, we are now closing this ticket and mark it as resolved. If you still have questions or issues regarding our plugin, we’d kindly ask you to open another thread.

    Regards,
    Michael

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

The topic ‘plugin not wokring’ is closed to new replies.