WordPress database error: [<div style="clear:both"> </div>
<div class="queries" style="clear:both;margin-bottom:2px;border:red dotted thin;">
<p>MySQL query:</p>
<p>SELECT * FROM wp_rank_math_redirections_cache WHERE ( object_id = 1210 and object_type = 'post' ) OR BINARY from_url = 'both-to-score-no-picks' ORDER BY object_id DESC</p>
<p>Queries made or created this session were:</p>
<ol>
<li>Executing: BEGIN | (no parameters)</li>
<li>Executing: SELECT * FROM wp_rank_math_redirections_cache WHERE ( object_id = 1210 and object_type = :param0 ) OR BINARY from_url = :param1 ORDER BY object_id DESC | parameters: post, both-to-score-no-picks</li>
<li>Executing: ROLLBACK | (no parameters)</li>
</ol>
</div>
<div style="clear:both;margin-bottom:2px;border:red dotted thin;" class="error_message" style="border-bottom:dotted blue thin;">
Error occurred at line 4117 in Function <code>handle_error</code>. Error message was: SQLSTATE[HY000]: General error: 1 near "from_url": syntax error.
</div>
<p>Backtrace:</p>
<pre>#0 /home/betadvisor/htdocs/betadvisor.club/wp-content/plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-db.php(287): WP_SQLite_Translator->get_error_message()
#1 /home/betadvisor/htdocs/betadvisor.club/wp-includes/class-wpdb.php(3142): WP_SQLite_DB->query()
#2 /home/betadvisor/htdocs/betadvisor.club/wp-content/plugins/seo-by-rank-math/includes/admin/database/class-query-builder.php(87): wpdb->get_results()
#3 /home/betadvisor/htdocs/betadvisor.club/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-cache.php(67): RankMath\Admin\Database\Query_Builder->get()
#4 /home/betadvisor/htdocs/betadvisor.club/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(224): RankMath\Redirections\Cache::get_by_object_id_or_url()
#5 /home/betadvisor/htdocs/betadvisor.club/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(114): RankMath\Redirections\Redirector->from_cache()
#6 /home/betadvisor/htdocs/betadvisor.club/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(81): RankMath\Redirections\Redirector->flow()
#7 /home/betadvisor/htdocs/betadvisor.club/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php(118): RankMath\Redirections\Redirector->__construct()
#8 /home/betadvisor/htdocs/betadvisor.club/wp-includes/class-wp-hook.php(324): RankMath\Redirections\Redirections->do_redirection()
#9 /home/betadvisor/htdocs/betadvisor.club/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /home/betadvisor/htdocs/betadvisor.club/wp-includes/plugin.php(565): WP_Hook->do_action()
#11 /home/betadvisor/htdocs/betadvisor.club/wp-includes/class-wp.php(830): do_action_ref_array()
#12 /home/betadvisor/htdocs/betadvisor.club/wp-includes/functions.php(1336): WP->main()
#13 /home/betadvisor/htdocs/betadvisor.club/wp-blog-header.php(16): wp()
#14 /home/betadvisor/htdocs/betadvisor.club/index.php(17): require('...')
#15 {main}</pre>
] SELECT * FROM wp_rank_math_redirections_cache WHERE ( object_id = 1210 and object_type = 'post' ) OR BINARY from_url = 'both-to-score-no-picks' ORDER BY object_id DESC