Jump to content

X The tags list (English (United States)) is invalid.


Recommended Posts

When we try to add words to our tag list, we get this error:  close.png The tags list (English (United States)) is invalid.  Even if we put "test" in the tag list section.  The only way it will save if we take all words out of the tag list.

 

This error is also showing at the top of the page.

 

Warning: preg_match() [function.preg-match]: Compilation failed: invalid UTF-8 string at offset 12 in .../public_html/classes/Validate.php on line 629

 

This is the code at 629:    

 

return preg_match('/^[^!<>;?=+#"°{}_$%]*$/u', $list);

Link to comment
Share on other sites

hello

 

i've noticed that you've got several troubles with validation in your shop.

It looks like you've got troubles with preg_match command on your hosting.

may i know where you've got hosting? and what PHP version you use?

 

to "fix" this issue, just use:

return $list;

instead of:

return preg_match('/^[^!<>;?=+#"°{}_$%]*$/u', $list);
Link to comment
Share on other sites

×
×
  • Create New...