• Resolved chargeup

    (@chargeup)


    Just want to give you a heads up. I’ve been seeing a lot of the following warnings the past few months in my PHP logs on all sites using WPForms.

    [09-May-2023 01:32:25 UTC] PHP Warning: Illegal string offset ‘first’ in /home/customer/www/www….com/public_html/wp-content/plugins/wpforms-lite/includes/fields/class-name.php on line 508

    [09-May-2023 01:32:25 UTC] PHP Warning: Illegal string offset ‘last’ in /home/customer/www/www….com/public_html/wp-content/plugins/wpforms-lite/includes/fields/class-name.php on line 512

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter chargeup

    (@chargeup)

    I am fairly confident the notices I’ve shared have absolutely nothing to do with the deprecation notices you are showing me from Astra. Those, while there, seem to be separate from what is occurring with your plugin.

    I can check access logs and look at time stamps for when users (might be bots or spam) are triggering the warning. They are lining up.

    I am also get the same WPForms warnings from 3 different themes I’m using so I can rule out it being a theme issue.

    I’ve turned on logging. Hopefully this will give me something to work with.

    I’d also take a look at the link I sent to the same issue to see if you can see what was causing the same notice and try and reproduce the error that way. Just thinking out loud.

    Thread Starter chargeup

    (@chargeup)

    Hey just making sure you saw my last comment since I haven’t heard from you.

    Is there anyway to see user action on a form? I can see the traffic and when they hit the page and form, but I’m unable to see the behavior that is throwing the warning. The Logging feature isn’t showing anything either.

    • This reply was modified 1 year, 9 months ago by chargeup.
    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @chargeup,

    We are investigating the issue, and will update you as soon as we have more details.

    We appreciate your patience with this!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @chargeup,

    I’d like to let you know that this issue will be fixed on WPForms version 1.8.2.3, and this version may be released in mid-July. I’ll make sure to send you an update when the version above that fixes this issue is released.

    Thanks for your patience with this!

    Thread Starter chargeup

    (@chargeup)

    Thanks and that’s great!

    If you don’t mind me asking what exactly is the issue?

    From my testing it is definitely spam bots causing it. I’ve been able to watch them hit the form and the timestamp is the same. They are somehow able to bypass the required field for that particular First/Last Name field and it is coming in empty. How they are able to bypass the required field and what they are trying to submit I am unsure of though.

    Thanks for the help on this.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @chargeup,

    Please know that we were unable to reproduce the issue, so we cannot rule out spambots as the cause.

    To prevent the issue, we have added some checks in our code base that should help to avoid the warnings.

    And to prevent spambots submitting your forms, you can check our guide with our anti-spam options available.

    When the new version is released, I’ll send you an update.

    Thanks!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @chargeup,

    I wanted to share some good news! We’ve just released WPForms version 1.8.2.3.

    This version should solve the PHP Warnings you described on May 24. If you’d like to check the details out, please take a look at our changelog.

    Thanks!

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘PHP Warning: Illegal string offset ‘last’’ is closed to new replies.