Support » Plugin: Smart Grid-Layout Design for Contact Form 7 » Admin errors after update to 3.3.3

  • Resolved MaryMak

    (@maxms)


    Hello,

    After updating to the latest version, I was seeing PHP errors. The plugin still works and I’ve turned off debug display but I thought you’d want to know:

    Warning: “continue 2” targeting switch is equivalent to “break 2”. Did you mean to use “continue 3”? in /home/providence/www/www/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 1156

    Warning: Cannot modify header information – headers already sent by (output started at /home/providence/www/www/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:1156) in /home/providence/www/www/wp-includes/functions.php on line 6221

    Warning: Cannot modify header information – headers already sent by (output started at /home/providence/www/www/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:1156) in /home/providence/www/www/wp-admin/includes/misc.php on line 1282

    Warning: Cannot modify header information – headers already sent by (output started at /home/providence/www/www/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:1156) in /home/providence/www/www/wp-admin/includes/template.php on line 1962

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Hi Mary

    what version of PHP are you using?

    These are warnings thrown by newer versions of PHP and are not errors per say. The first one is related to this plugin, but the last 3 are related to WordPress, I too get them on my server.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    The warning in the plugin will not affect its functioning. I will remove the warning in the next release.

    Hi I’m unsure if this a fix as I have the same issues but not just in admin.
    the form is still working but on redirect you just get a white page with the following.

    Warning: “continue 2” targeting switch is equivalent to “break 2”. Did you mean to use “continue 3”? in /homepages/10/d452792417/htdocs/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 1156

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/10/d452792417/htdocs/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:1156) in /homepages/10/d452792417/htdocs/wp-includes/pluggable.php on line 1281

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/10/d452792417/htdocs/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:1156) in /homepages/10/d452792417/htdocs/wp-includes/pluggable.php on line 1284

    PHP 7.3 or 7.4 no change – everything was ok until I updated to 3.3.3 earlier today. at one point I had to deactivate before I could do anything.

    Thanks In Advance
    Regards
    Paul

    Also get this after activation.

    The plugin generated 259 characters of unexpected output during activation. If you notice “ headers already sent ” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Hope this helps

    I am on php 7.3. Thanks for removing in the next version. 🙂

    Plugin Author Aurovrata Venet

    (@aurovrata)

    the form is still working but on redirect you just get a white page with the following.

    @mgbrweb how are you redirecting on form submission?

    @maxms I realise my first answer to your post was incorrect, apologies. I don’t yet understand why this warning is being raised as that line has not changed in v3.3.3. Nevertheless, it is now redundant and so I have simply removed it in v3.3.4. Please upgrade and let me know if it now works for you.

    Yup. Fixed after the upgrade. Thank you!

    Good evening,
    Thank you for the quick update – that has fixed it and now it works as before.

    Regarding redirection, a very good question I have a tab that will redirect to a page within my wordpress site. looking at my installed plugins I have this Plugin and it has worked alongside yours without any issues until today.

    Contact Form 7 – Success Page Redirects
    Deactivate | Troubleshoot
    An add-on for Contact Form 7 that provides a straightforward method to redirect visitors to success pages or thank you pages.

    Version 1.2.0 | By Ryan Nevius | View details

    Thank you again for sorting the issue ;0)

    Regards
    Paul

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Yup. Fixed after the upgrade. Thank you!

    @maxms you’re welcome. please leave a review when you have a moment to spare

    Regarding redirection

    @mgbrweb Paul, I have moved your question to a new thread, as this will make it easier for others to find in the support forum. In the future it is recommended to post your questions in separate threads, thanks.

    Thanks, It was all connected and displaying the same messages.

    Keep up your good work

    Paul

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Admin errors after update to 3.3.3’ is closed to new replies.