[closed] General Form Submit (4 posts)

  1. radiusmedia
    Posted 1 year ago #

    Hi there, I noticed any general form submission in wordpress especially frontend themes, there is an error that appears.

    Warning: trim() expects parameter 1 to be string, array given in /Volumes/HDD2/RadiusMedia/TheLocalArtist/dev4/wp-includes/query.php on line 1479
    Warning: strip_tags() expects parameter 1 to be string, array given in /Volumes/HDD2/RadiusMedia/TheLocalArtist/dev4/wp-includes/formatting.php on line 1059

    This happen when I submit a standard post form, also noticed it happens in the latest wordpress theme. Is this a known issue.

    Any help would be greatly appreciated

  2. radiusmedia
    Posted 1 year ago #

    Use the following code and paste it in any template theme and tell if you get those errors, i am using 3.8.1

    <form method="post" action="/?action=delete">
    	<input type="checkbox" name="listings[]" value="1">
    	<button type="submit">Delete</button>
  3. crazywhistlepig
    Posted 11 months ago #

    I'm having the same issues. Question is why is WordPress trying to scrub my $_POST ? This is just about as retarded as its built in stripslashes.

  4. esmi
    Forum Moderator
    Posted 11 months ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 3 month old topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic