cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
new errors in error log
July 28, 2012
3:20 pm
kizora
Guest

Hi

I'm using cforms v 12.2 with wordpress 3.2.1.

Not used to getting errors, but these have recently appeared in the error.log

[19-Jul-2012 12:02:16] PHP Fatal error: Call to undefined function __() in  …./public_html/wp-content/plugins/cforms/lib_options_add.php on line 22
[19-Jul-2012 12:17:55] PHP Fatal error: Call to undefined function get_option() in …../public_html/wp-content/plugins/cforms/cforms-global-settings.php on line 12
[20-Jul-2012 03:47:39] PHP Fatal error: Call to undefined function __() in …../public_html/wp-content/plugins/cforms/lib_options_err.php on line 22
[24-Jul-2012 15:43:35] PHP Fatal error: Call to undefined function __() in …../public_html/wp-content/plugins/cforms/lib_options_err.php on line 22

for example, line 21 of lib_options_err.php is :-

if ( $cformsSettings['form'.$no]['cforms'.$no.'_showpos']=='' && (($userconfirm&1)==0) ) {
$text = sprintf(__('please check the success/failure message settings and >>Show messages<< options below!', 'cforms'),'#anchormessage','onclick=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"setshow(1)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"');
showmesssage(1);

line 22 of lib_options_add.php is :

$cformsSettings['form'.$no]['cforms'.$no.'_count_field_1'] = __('My Fieldset', 'cforms').'$#$fieldsetstart$#$0$#$0$#$0$#$0$#$0';

Any ideas why I'm starting to get these errors?

Thanks

Chris

August 25, 2012
11:01 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

You'd expect those errors to show up when calling these files outside the WP context, but not in normal use.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3708

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5307

Posts: 18665

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)