• Resolved sparky672

    (@sparky672)


    My log just fills up non-stop with this… line after line after line….

    [05-Jan-2022 19:47:44 UTC] PHP Warning:  Illegal string offset 'ajax' in /home/fourcast/public_html/wp/wp-content/plugins/yikes-inc-easy-mailchimp-extender/public/partials/shortcodes/process_form_shortcode.php on line 424
    [05-Jan-2022 19:47:47 UTC] PHP Warning:  Illegal string offset 'ajax' in /home/fourcast/public_html/wp/wp-content/plugins/yikes-inc-easy-mailchimp-extender/public/partials/shortcodes/process_form_shortcode.php on line 424

    WordPress, plugins, stock WP (2012) theme are all up to date.

    PHP is v7.3

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sparky672

    (@sparky672)

    Do you have AJAX disabled for that form?

    I don’t even see a setting for disabling Ajax for the form. EDIT: I found the setting for Ajax. It was already set to “Yes”.

    The errors are triggered by nothing more than loading the page that contains the form.

    • This reply was modified 2 years, 5 months ago by sparky672.

    Hi @sparky672,

    It’s in the right sidebar on the edit form page. The warning is saying that it’s checking for the value of the “ajax” setting, but that value isn’t defined.

    Jon

    Thread Starter sparky672

    (@sparky672)

    It’s in the right sidebar on the edit form page.

    I found it. It was already set to “Yes”.

    So I think I found the actual problem. The form did not have a name. The box for “Form Name” (The title of this signup form.) was completely empty. I don’t know how that’s possible… maybe my client got in there and accidentally deleted?

    I entered a name and the errors went away. Not sure how that’s related to the Ajax though or if you can make it fail more gracefully if name is missing.

    Hi @sparky672,

    Glad you figured it out.

    It’s just a PHP notice, not an actual error. If you find the log messages bothersome and would like to investigate further, you’re welcome to open a pull request addressing them.

    Thanks,
    Jon

    Thread Starter sparky672

    (@sparky672)

    It’s just a PHP notice, not an actual error.

    Correct. But since the form is on the home page, the log was just endlessly filling up.

    Thank you for the prompt response!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘You’re filling my log with “illegal string offset” warnings’ is closed to new replies.