היי, חג שמח!
בעת עבודה על עמוד מסויים ושמירת העמוד אני מקבלת את ההערה המצורפת על דף לבן:
Warning: stripslashes() expects parameter 1 to be string, array given in /home/שם השרת/public_html/domain.com/wp-includes/formatting.php on line 1692
ההערה מופיעה 6 פעמים + הערה נוספת:
Warning: Cannot modify header information – headers already sent by (output started at /home/שם השרת/public_html/domain.com/wp-includes/formatting.php:1692) in /home/שם השרת/public_html/domain.com/wp-includes/pluggable.php on line 1178
בקובץ formatting.php שורות 1687-1694 כתוב:
@param string $gpc The string returned from HTTP request data.
* @return string Returns a string escaped with slashes.
*/
function addslashes_gpc($gpc) {
if ( get_magic_quotes_gpc() )
$gpc = stripslashes($gpc);
return wp_slash($gpc);
}
מהי משמעות ההערה ומה עלי לשנות?
תודה מראש.