• Resolved wojewodzic

    (@wojewodzic)


    I’ve got error 500 in console after subbmiting form

    Now I realised that I can’t save any option on plugin page even set API key.

    Plugin version 1.1.14
    WordPress version: 6.1.1

    Apache error log:

    AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /home/public_html/wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/class-plugin.php:127
    
    Stack trace:
    #0 /home/public_html/wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/class-plugin.php(127): count()
    #1 /home/public_html/wp-content/plugins/ari-cf7-connector/includes/class-plugin.php(206): Ari_Cf7_Connector_Plugins\\Mailerlite\\Plugin->on_cf7_form_submission()
    #2 /home/public_html/wp-content/plugins/ari-cf7-connector/includes/class-plugin.php(37): Ari_Cf7_Connector\\Plugin->wpc7_form_submission()
    #3 /home/public_html/wp-includes/class-wp-hook.php(310): Ari_Cf7_Connector\\Plugin->Ari_Cf7_Connector\\{closure}()
    #4 /home/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello,

    Unfortunately we can’t reproduce the problem on our test server. Could you contact us by email: info (at) ari-soft (dot) com and grant a temporary access so we can investigate the issue?

    Thread Starter wojewodzic

    (@wojewodzic)

    @arisoft I fixed it by set PHP back to 7.4 from 8.1.

    Additionaly I’ve had an error “Cannot redeclare Clue\StreamFilter\append()” (previously declared in another plugin) so I changed namespace in another plugin and now all works corectlly.

    Thread Starter wojewodzic

    (@wojewodzic)

    @arisoft tested on another clean WordPress on PHP 8.1 and same errors with saving options. There is any chance that you will update plugin to support PHP 8.1?

    Plugin Author arisoft

    (@arisoft)

    We can’t reproduce it on PHP 8.1.1. Could you provide a temporary access to backend part so we can investigate the problem? Probably you can reproduce it on a test site. Contact us by info (at) ari-soft (dot) com

    Thread Starter wojewodzic

    (@wojewodzic)

    @arisoft did you receive my email yesterday?

    Plugin Author arisoft

    (@arisoft)

    Unfortunately we haven’t received an email. Could you re-check email address and send it again?

    Thread Starter wojewodzic

    (@wojewodzic)

    I’ve just sent again. Didn’t get any bounce error so you should have it on your server.

    Plugin Author arisoft

    (@arisoft)

    We received it. Thank you. Check your mail please.

    Thread Starter wojewodzic

    (@wojewodzic)

    Plugin updated and works perfectly.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error 500 after submitting form | can’t save plugin options’ is closed to new replies.