Home › Toolset Professional Support › [Resolved] An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
This topic is split from https://toolset.com/forums/topic/disable-toolset-type-translation-update/
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 3 replies, has 2 voices.
Last updated by Christian Cox 4 years, 10 months ago.
Assisted by: Christian Cox.
I'm seeing several database errors in my PHP logs. They seem to indicate a problem with Types Post Groups and creating the Toolset Dashboard, based on the log information.
[05-Feb-2020 15:24:21 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_nav_postmeta WHERE meta_key="_wp_types_group_post_types" AND (meta_value LIKE "%,special,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$") ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGSToolsetTwigEnvironment->render, OTGSToolsetTwigTemplateWrapper->render, OTGSToolsetTwigTemplate->render, OTGSToolsetTwigTemplate->display, OTGSToolsetTwigTemplate->displayWithErrorHandling, OTGSToolset__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGSToolsetTwigTemplate->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups [05-Feb-2020 15:24:22 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_nav_postmeta WHERE meta_key="_wp_types_group_post_types"
There's a bunch of them for each of the custom post types created by Types.
Hi, as discussed in the previous ticket I would like to continue to investigate these database errors. Since the call stack points to the Toolset dashboard, can you tell me more about that page? Please go to Toolset > Dashboard in wp-admin. Is the page rendered at all? Do you see errors, or does the site crash? Please take screenshots of the entire Dashboard page and include those in your next reply. I will review everything and give you some feedback.
It does seem to chug a bit but it does load. I've deleted the error log prior to making the call to the page so what you see in error_log.txt is all generated from calling the toolset dashboard.
[11-Feb-2020 16:19:45 UTC] PHP Notice: Undefined index: menu in D:\home\site\wwwroot\wp-content\plugins\admin-stuff\functions.php on line 84
[11-Feb-2020 16:23:10 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,author-spotlight,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,orbit,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,cdi-email-ad,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,current-sale,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,discipleship-matter,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,discipleship-item,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,editor-post,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,employee,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,featured-bible,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:11 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,featured-product,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:12 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,interrupter-ad,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:12 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,meme,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:12 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,news-and-articles,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:12 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,periodical-banner,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:12 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,planned-outage,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:12 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,small-ad,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:13 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,special,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:13 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,store-banner,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:13 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,story,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:13 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,video,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:13 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,video-historic,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:13 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,video-prod,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:13 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,page,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
[11-Feb-2020 16:23:14 UTC] WordPress database error [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'. Code - 4145 for query SELECT post_id FROM wp_postmeta
WHERE meta_key="_wp_types_group_post_types"
AND (meta_value LIKE "%,post,%" OR meta_value="all" OR meta_value REGEXP "^[,]+$")
ORDER BY post_id ASC made by do_action('toplevel_page_toolset-dashboard'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Page_Dashboard->render_page, Types_Page_Dashboard->build_page_context, Types_Page_Dashboard->get_dashboard, Types_Page_Dashboard->get_dashboard_types_table, Types_Helper_Twig->render, OTGS\Toolset\Twig\Environment->render, OTGS\Toolset\Twig\TemplateWrapper->render, OTGS\Toolset\Twig\Template->render, OTGS\Toolset\Twig\Template->display, OTGS\Toolset\Twig\Template->displayWithErrorHandling, OTGS\Toolset\__TwigTemplate_2c7532df4835a5bea29dc2930cfcc5e35ffe171f36a8a3223a90b5d97549f1c9->doDisplay, OTGS\Toolset\Twig\Template->getAttribute, Types_Post_Type->get_field_groups, Types_Post_Type->fetch_field_groups
Okay thanks, I would like to see if the same errors are produced when I install a clone of your site on my own local environment. To make a site clone, I would like to log into wp-admin and install the Duplicator plugin. If that is okay, please provide login credentials in the private reply fields here.