• Resolved docedoc123

    (@docedoc123)


    On WordPress V 5.4.1 Constant Contact Forms for WordPress V 1.82 plugin causes this fatal error, requiring WordPress recovery mode to log into site:

    Error log: PHP Fatal error: Illegal length modifier specified ‘f’ in s[np]printf call in /home/custo451/public_html/wp-content/plugins/constant-contact-forms/vendor/guzzlehttp/streams/src/StreamInterface.php on line 7

    Troubleshooting steps:
    1) Deactivate plugin and exit recovery mode. Site launches and WP admin functions.
    2) Activate plugin immediately crashes with msg: There has been a critical error on your web site.
    3) Use Duplicator plugin to duplicate the production site to a staging site (subdomain on same hosted server as production site). Constant Contact Forms for WordPress plugin activates on staging site without errors.
    4) Use Duplicator plugin to duplicate staging site back to production site. In theory making the two sites congruent. Activating Constant Contact Forms for WordPress plugin crashes production site.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter docedoc123

    (@docedoc123)

    As a workaround I redirected traffic from the domain I need help with to a subdomain in which the plugin works.

    I am guessing that when the plugin is in the domain (rather than subdomain) it interacts with Constant Contact on activation. The response from Constant Contact contains an illegal length modifier. When the plugin is in any subdomain it receives a different response?

    So far as I can determine, the only plugin that uses guzzlehttp is Constant Contact Forms for WordPress.

    Plugin Author Constant Contact

    (@constantcontact)

    What are the two domains used in this case?

    Looking at the file and line mentioned, this is what is there:

    interface StreamInterface
    
    Thread Starter docedoc123

    (@docedoc123)

    At the time of the original post

    Production domain customercare[dot]com, plugin activation causes error
    Staging domain: stage[dot]customercare[dot]com/stage, plugin activation no error

    As of 11-May 06:50 EDT cci[dot]customercare[dot]com is the domain to which the production domain is redirected as a work around. Activating the plugin in this subdomain works.

    If you need the production domain’s plugin activated to recreate the error, let me know.

    Thread Starter docedoc123

    (@docedoc123)

    I activated the production domain customercare[dot]com plugin (briefly) at 17:11 today to generate the fatal error. Perhaps that event will show up in your logs.

    Plugin Author Constant Contact

    (@constantcontact)

    did it happen again when you re-did ? or did it hopefully clear itself up since?

    Plugin Author Constant Contact

    (@constantcontact)

    Also in case it matters, what version of PHP are you running, if you happen to know or can check?

    Thread Starter docedoc123

    (@docedoc123)

    Alas, it happened again. Here is the error detail from public_html/wp-content/debug-log

    [11-May-2020 21:08:47 UTC] PHP Fatal error: Illegal length modifier specified ‘f’ in s[np]printf call in /home/custo451/public_html/wp-content/plugins/constant-contact-forms/vendor/guzzlehttp/streams/src/StreamInterface.php on line 7

    [11-May-2020 21:10:20 UTC] PHP Fatal error: Illegal length modifier specified ‘f’ in s[np]printf call in /home/custo451/public_html/wp-content/plugins/constant-contact-forms/vendor/guzzlehttp/streams/src/StreamInterface.php on line 7

    WordPress reports:
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.4.1
    Current theme: Avada Child (version 1.0.0)
    Current plugin: Constant Contact Forms for WordPress (version 1.8.2)
    PHP version 7.3.11

    Thread Starter docedoc123

    (@docedoc123)

    Updating the plugin appears to have resolved the issue.

    The updated Constant Contact Forms for WordPress Version 1.8.3 plugin on Word Press version 5.4.1 does not crash site on plugin activation.

    Thanks for publishing the update if that was actually the solution. Alternatively, might Constant Contact have made other changes that affected the results?

    Plugin Author Constant Contact

    (@constantcontact)

    hi @docedoc123

    Thanks for the followup. This is going to sound odd, but I believe our changes for the 1.8.3 release were all completely unrelated to this error, or at least were thought to be unrelated. It is possible that some of the changes did in fact help though. It was still the first time we had seen this specific error, so we can’t say for certain which change helped.

    Regardless, we’re glad to hear that things are working and activating for you now, so that you can start making use of the plugin.

    Thread Starter docedoc123

    (@docedoc123)

    Interesting. Only change I made was updating the plugin. But it is a shared host and WebHosting Hub may have made changes to the server along the way. In retrospect I should have tested whether the error persisted prior to the update. But . . .

    By the way, updating to the latest version (Constant Contact Forms for WordPress 1.84) did not cause errors. So whatever changed appears to have persisted.

    Plugin Author Constant Contact

    (@constantcontact)

    Awesome to hear that things are still moving along well now, even with another quick update we had to push out.

    Let us know if you need anything else.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Constant Contact Forms for WordPress V 1.82 fatal error’ is closed to new replies.