All tailored content is broken! $sanitized_model[‘id’] returning float(INF)
-
I was going along happily editing my content when BOOM, everything disappeared to be replaced with the following:
Warning: array_key_exists(): The first argument should be either a string or an integer in [site]/wp-content/plugins/tailor/includes/class-custom-css.php on line 195
Upon further investigation it appears that all the tailor serialized metadata id’s and parent id’s have been set to INF, e.g.:
a:5:{s:2:"id";d:INF;s:3:"tag";s:12:"tailor_image";s:4:"atts"; a:5{s:10:"image_size";s:4:"full";s:17:"shadow_horizontal";s:1:"0"; s:15:"shadow_vertical";s:1:"2";s:11:"shadow_blur";s:1:"6";s:13:"shadow_spread"; s:1:"0";}s:6:"parent";d:INF;s:5:"order";i:0;}i:3;
This is a huge issue, as I’ve spent hours building the page for a misconfiguation on save overwrote all IDs with infinity….
Do you have any suggestion on how to remedy this situation besides starting from scratch and rebuilding the page?
Thanks!
- The topic ‘All tailored content is broken! $sanitized_model[‘id’] returning float(INF)’ is closed to new replies.