PHP error with this plugin
-
I put this comment in a different post thread then realized I should start a new one, sorry for causing any confusion!
I’m having a problem for which I could use some help, this plugin is now giving this error (although it doesn’t seem to be preventing GF form submission):
Warning: count(): Parameter must be an array or an object that implements Countable in [mysite]/wp-content/plugins/infusionsoft/Infusionsoft/xmlrpc.inc on line 2623
For anyone who doesn’t have the same version of this plugin that I do (version 1.5.12) here is lines 2622 and 2623, to help you find the same section that is causing this error:
// first error check: xml not well formed
if(!xml_parse($parser, $data, count($data)))My best guess is that it’s a PHP compatibility error, our site host forced us to update our PHP version to 7.3 and our WP to 5.3.2, so I’m guessing it’s that the plugin hasn’t been updated in so long it uses a much older version of PHP.
Any suggestion at all as to how I can modify my file (referenced in the error message) to fix this would be MUCH appreciated, I’m not a coder but very capable of following instructions!
@justinhandley I hope this isn’t inappropriate but I’m tagging you since you mentioned taking over this plugin. ??
- The topic ‘PHP error with this plugin’ is closed to new replies.