• Resolved Mike Price

    (@fairfieldphoto)


    I updated this plug-in from 1.2.4.1 to 1.2.5 on 27 January 2021. Shortly after the update, I started getting the following error message clusters repeatedly in my server logs:

    [27-Jan-2021 20:54:05 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method kmcf7_message_filter\CF7MessageFilter::add_custom_messages() in /home/fairfiel/public_html/wp-includes/class-wp-hook.php on line 287
    [27-Jan-2021 20:54:05 UTC] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/fairfiel/public_html/wp-content/plugins/contact-form-7/modules/date.php on line 152
    [27-Jan-2021 20:54:05 UTC] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/fairfiel/public_html/wp-content/plugins/contact-form-7/modules/file.php on line 207
    [27-Jan-2021 20:54:05 UTC] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/fairfiel/public_html/wp-content/plugins/contact-form-7/modules/number.php on line 144
    [27-Jan-2021 20:54:05 UTC] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/fairfiel/public_html/wp-content/plugins/contact-form-7/modules/quiz.php on line 193
    [27-Jan-2021 20:54:05 UTC] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/fairfiel/public_html/wp-content/plugins/contact-form-7/modules/really-simple-captcha.php on line 237
    [27-Jan-2021 20:54:05 UTC] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/fairfiel/public_html/wp-content/plugins/contact-form-7/modules/text.php on line 204
    [27-Jan-2021 20:54:05 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/fairfiel/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php on line 885

    The timing of the first occurrence of this matches the timing of the plug-in update to 1.2.5.

    How do I correct this?

    -Mike

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author kofimokome

    (@kofimokome)

    is it stoping the plugin from working?

    Plugin Author kofimokome

    (@kofimokome)

    I believe only the first error is from the plugin. I will fix it as soon as possible. if the other errors are caused by the plugin, then I will further investigate

    Thread Starter Mike Price

    (@fairfieldphoto)

    It’s not clear if the plug-in has stopped working or just stopped processing. I am not getting spam to my in-box, so it is still catching spam and stopping it, but doing it in a way that is putting lots of entries in my log file.

    As to the other errors, for every instance of the error code attributed to your plug-in, there are the additional error lines for Contact Form 7…I’m guess the passback is causing CF7 to crash and log the errors.

    -M

    Plugin Author kofimokome

    (@kofimokome)

    Thanks for pointing this out.
    I have fixed the issue. I will release an update maybe tomorrow or this weekend.
    The error does not stop the core functions of the plugin. Even though it has affected other areas of the plugin. But the effect is insignificant.

    • This reply was modified 4 years, 1 month ago by kofimokome.
    Thread Starter Mike Price

    (@fairfieldphoto)

    Thank you! I didn’t seem to cause a problem other than adding lots of log entries. Glad you were able to find the problem so quickly.

    Regards,

    -Mike

    Thread Starter Mike Price

    (@fairfieldphoto)

    You know, if you are in working on the code, you might also check why I am not able to filter for “.online”

    That is the one filter I put in place but still comes through for spam pointing to a .online email or URL. I am able to screen out all the others I was getting.

    Is there a reason that “.online” can’t be filtered?

    Plugin Author kofimokome

    (@kofimokome)

    I will look at it
    Kindly update the plugin and confirm if you still have the extra logs. I have pushed an update

    Plugin Author kofimokome

    (@kofimokome)

    have you tried using [link] tag?

    Thread Starter Mike Price

    (@fairfieldphoto)

    Yes. Here is my Restricted Keywords

    [link] [russian] sunglasses .online

    yet the .online slips through. The message contains “pharmacyusa.online” but I have a variety of other terms before the “.online”.

    I am trying to post a sample of the spam message, but the forum filter catches it as, well, spam, so it is not posting it.

    Thread Starter Mike Price

    (@fairfieldphoto)

    Yes. Here is my Restricted Keywords

    [link] [russian] sunglasses .online

    I am trying to post a sample of the spam message, but the forum filter catches it as, well, spam, so it is not posting it.

    Thread Starter Mike Price

    (@fairfieldphoto)

    I have updated the plug-in to 1.2.5.1

    I will monitor for the next 1-2 hours. Sometimes the errors come in spurts, other times they go an hour or two before I see something in my server logs.

    Thanks again for the quick response to addressing this.

    -Mike

    Plugin Author kofimokome

    (@kofimokome)

    please send the message to my email [email protected]

    Thread Starter Mike Price

    (@fairfieldphoto)

    Email sent.

    Thread Starter Mike Price

    (@fairfieldphoto)

    It has been a couple of hours and I do not see any error messages in my server logs. I think you got it fixed with 1.2.5.1

    thank you!

    -M

    Plugin Author kofimokome

    (@kofimokome)

    Hello, @fairfieldphoto,
    I would like you to confirm if you are still able to view blocked messages after updating to the latest version?

    • This reply was modified 4 years, 1 month ago by kofimokome.
Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘PHP Warning message started upon implementation of v1.2.5’ is closed to new replies.