• Resolved joshuag

    (@joshuag)


    Getting the following errors:

    Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/95/10715695/html/wp-content/plugins/pie-register/pie-register.php on line 345

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/95/10715695/html/wp-content/plugins/pie-register/pie-register.php:345) in /home/content/95/10715695/html/wp-includes/option.php on line 568

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/95/10715695/html/wp-content/plugins/pie-register/pie-register.php:345) in /home/content/95/10715695/html/wp-includes/option.php on line 569

    Any ideas?

    http://ww.wp.xz.cn/plugins/pie-register/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor genetech

    (@genetech)

    Hi,

    Can you post the steps to re-produce the error? along with the Version of your WordPress, Pie Register and PHP?

    This is the Quick fix for your problem:

    Open up Pie-Register.php in a text editor and go to line 345 where it reads:

    $value = stripslashes($value);

    Change it with the following:
    if(is_string($value)) $value = stripslashes($value);

    Thanks

    Thread Starter joshuag

    (@joshuag)

    Sure.

    All I did was install the plugin and try to configure it. That’s all that caused the error. It works fine when I do not mark any fields as “required”. As soon as I mark fields as required and press save it outputs the errors.

    WordPress Ver. is 3.5.2
    Pie Register Ver is 1.31
    PHP Ver. is 5.3.24

    I’ll try that fix.

    Thread Starter joshuag

    (@joshuag)

    Just a heads up that the fixed worked.

    Thank you 🙂

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

The topic ‘Errors Generated when Using Required Fields’ is closed to new replies.