WordPress database error: [Illegal argument to a regular expression.]
SELECT
s.visibility as set_visibility, s.capabilities as set_capabilities, s.versions as set_versions, s.icon as set_icon, s.position as set_position, s.name as set_name, s.singular_name as set_singular_name, s.id as set_id, s.disabled as set_disabled, s.allow_multiple as set_allow_multiple, s.labels as set_labels, s.expanded as set_expanded, s.sidebar as set_sidebar, s.type as set_type,
f.visibility as field_visibility, f.capabilities as field_capabilities, f.icon as field_icon, f.position as field_position, f.name as field_name, f.id as field_id, f.labels as field_labels, f.summary_options as field_summary_options, f.disabled as field_disabled, f.required as field_required, f.type as field_type, f.type_options as field_type_options
FROM wp_q1ahmj76o9_mp_field_sets s
INNER JOIN wp_q1ahmj76o9_mp_fields f ON s.id = f.`field_set_id`
WHERE (s.type = 'p' OR s.type = 's')
AND ( s.visibility RLIKE '"post_types"\s?:\s?"[^:]*([[:<:]]page[[:>:]]|\\*)("|,)' OR ( s.visibility RLIKE '"not_post_types"' AND s.visibility NOT RLIKE '"not_post_types"\s?:\s?"[^:]*[[:<:]]page[[:>:]]("|,)' ) )
AND ( f.visibility RLIKE '"post_types"\s?:\s?"[^:]*([[:<:]]page[[:>:]]|\\*)("|,)' OR ( f.visibility RLIKE '"not_post_types"' AND f.visibility NOT RLIKE '"not_post_types"\s?:\s?"[^:]*[[:<:]]page[[:>:]]("|,)' ) )
AND ( s.visibility RLIKE '"templates"\s?:\s?"[^:]*([[:<:]]templates\\\\/template-home.php[[:>:]]|\\*)("|,)' OR ( s.visibility RLIKE '"not_templates"' AND s.visibility NOT RLIKE '"not_templates"\s?:\s?"[^:]*[[:<:]]templates\\\\/template-home.php[[:>:]]("|,)' ) )
AND ( f.visibility RLIKE '"templates"\s?:\s?"[^:]*([[:<:]]templates\\\\/template-home.php[[:>:]]|\\*)("|,)' OR ( f.visibility RLIKE '"not_templates"' AND f.visibility NOT RLIKE '"not_templates"\s?:\s?"[^:]*[[:<:]]templates\\\\/template-home.php[[:>:]]("|,)' ) )
AND f.disabled = 0 AND s.disabled = 0
ORDER BY set_type, set_position, field_position;
WordPress database error: [Illegal argument to a regular expression.]
SELECT
s.visibility as set_visibility, s.capabilities as set_capabilities, s.versions as set_versions, s.icon as set_icon, s.position as set_position, s.name as set_name, s.singular_name as set_singular_name, s.id as set_id, s.disabled as set_disabled, s.allow_multiple as set_allow_multiple, s.labels as set_labels, s.expanded as set_expanded, s.sidebar as set_sidebar, s.type as set_type,
f.visibility as field_visibility, f.capabilities as field_capabilities, f.icon as field_icon, f.position as field_position, f.name as field_name, f.id as field_id, f.labels as field_labels, f.summary_options as field_summary_options, f.disabled as field_disabled, f.required as field_required, f.type as field_type, f.type_options as field_type_options
FROM wp_q1ahmj76o9_mp_field_sets s
INNER JOIN wp_q1ahmj76o9_mp_fields f ON s.id = f.`field_set_id`
WHERE s.type = 't'
AND ( s.visibility RLIKE '"templates"\s?:\s?"[^:]*([[:<:]]templates\\\\/template-home.php[[:>:]]|\\*)("|,)' OR ( s.visibility RLIKE '"not_templates"' AND s.visibility NOT RLIKE '"not_templates"\s?:\s?"[^:]*[[:<:]]templates\\\\/template-home.php[[:>:]]("|,)' ) )
AND f.disabled = 0 AND s.disabled = 0
ORDER BY set_type, set_position, field_position;