• Resolved seanmcinnes

    (@seanmcinnes)


    Recently updated to v14.12.3 but after doing so when i go to the cforms menu instead of the neat form fields I am used to I get a spew of error like this –

    /home/domainname/public_html/wp-content/plugins/cforms2/fieldtypes/fieldtype.php on line 60 Notice: Undefined variable: out in /home/domainname/public_html/wp-content/plugins/cforms2/fieldtypes/fieldtype.php on line 60 Notice: Undefined variable: out in /home/domainname/public_html/wp-content/plugins/cforms2/fieldtypes/fieldtype.php on line 60 Notice: Undefined variable: out in

    Does anyone have any idea how to fix it?

    • This topic was modified 9 years, 3 months ago by seanmcinnes.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bgermann

    (@bgermann)

    Yes, you have to delete the dot on the mentioned line. The fix will be included in the next version, however you should disable PHP log output via HTML in your production environment.

    https://github.com/bgermann/cforms2/commit/80916831bc0f4f84c71485e1877ca6af5a17cf1d

    Thread Starter seanmcinnes

    (@seanmcinnes)

    Thank you. Next when i display a form on a page i get –

    Notice: Undefined index: cforms in /home/domainname/public_html/wp-content/plugins/cforms2/cforms.php on line 278

    line 278 reads –
    cforms2_dbg(“All good, currently on form #$no, [current]=”.$_SESSION[‘cforms’][‘current’]);

    Any advice on this one appreciated.

    Plugin Author bgermann

    (@bgermann)

    It is again a notice, which is what it says: a notice, not an error. You can delete that line if you want as it is only for debugging purposes. But again I suggest you to suppress the log in your production environment.

    Plugin Author bgermann

    (@bgermann)

    You can then still write it to a file, which is probably configured by default anyway.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Undefined variable: after plugin update’ is closed to new replies.