Skip Navigation

[Resolved] Single line text box in custom field erases anything inside quotes ("")

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by daveM 6 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#561013
Screen Shot 2017-08-17 at 6.20.14 PM.png

I am trying to:

Add content with quotes ("") to a single line text box in a custom field. When I add text inside quotes and save the post, the text and quotes is gone from this single line text box, but it shows on the front end. If I update the post again, with the text and quotes hidden/missing from the field, the front end updates as if the text was never entered->it actually gets erased.

Is this a bug, or a known issue? And how would I fix?

Link to a page where the issue can be seen:

See attached screenshot of backend admin after saving the page once with quoted text.

#561053

Dear Dave,

The problem you mentioned above is abnormal, there might be some other compatibility problem in your website, please check these:
1) deactivate other plugins and switch to wordpress default theme, and test again
2) Enable PHP debug mode, copy and paste the debug logs here
PHP Debugging
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root directory. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).
https://toolset.com/documentation/user-guides/debugging-types-and-views/

#562008

Hi Luo Yang,

After deactivating all plugins and setting to the default theme, I've found the culprit. It seems the WP Multiple Taxonomy Images plugin (https://wordpress.org/plugins/wp-multiple-taxonomy-images/) is breaking these fields. I've notified the plugin dev. Hopefully they can get it fixed since I need the functionality :/

Thanks for your help!

#562010

Editing with "resolved" checked-off. Still checking with the plugin dev, but resolved on this end.

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.