WordPress database error: [<div style="clear:both"> </div><div class="queries" style="clear:both; margin_bottom:2px; border: red dotted thin;">Queries made or created this session were<br/>
<ol>
<li>Raw query:
SELECT * FROM wp_options WHERE </li>
<li>Rewritten:
SELECT * FROM wp_options WHERE </li>
<li>With Placeholders:
SELECT * FROM wp_options WHERE </li>
<li>Prepare:
SELECT * FROM wp_options WHERE </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 1644 in Function prepare_query. <br/> Error message was: Problem preparing the PDO SQL Statement. Error was: SQLSTATE[HY000]: General error: 1 incomplete input </div><pre>#0 /home/nattaylor/public_html/wordpress/wp-content/db.php(2746): WP_SQLite_DB\PDOEngine->get_error_message()
#1 /home/nattaylor/public_html/wordpress/wp-content/db.php(3484): WP_SQLite_DB\wpsqlitedb->query('...')
#2 /home/nattaylor/public_html/wordpress/wp-content/db.php(2952): WP_SQLite_DB\PDOSQLiteDriver->execute_duplicate_key_update()
#3 /home/nattaylor/public_html/wordpress/wp-content/db.php(1893): WP_SQLite_DB\PDOSQLiteDriver->rewrite_query('...', '...')
#4 /home/nattaylor/public_html/wordpress/wp-content/db.php(1357): WP_SQLite_DB\PDOEngine->execute_insert_query_new('...')
#5 /home/nattaylor/public_html/wordpress/wp-content/db.php(2739): WP_SQLite_DB\PDOEngine->query('...')
#6 /home/nattaylor/public_html/wordpress/wp-includes/option.php(1143): WP_SQLite_DB\wpsqlitedb->query('...')
#7 /home/nattaylor/public_html/wordpress/wp-includes/option.php(2170): add_option('...', 1758661606, '', '...')
#8 /home/nattaylor/public_html/wordpress/wp-includes/option.php(1953): add_network_option(1, '...', 1758661606)
#9 /home/nattaylor/public_html/wordpress/wp-includes/option.php(2661): add_site_option('...', 1758661606)
#10 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-theme.php(2047): set_site_transient('...', Array, 1800)
#11 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-theme.php(1856): WP_Theme->set_pattern_cache(Array)
#12 /home/nattaylor/public_html/wordpress/wp-includes/block-patterns.php(374): WP_Theme->get_block_patterns()
#13 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-hook.php(324): _register_theme_block_patterns('')
#14 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#15 /home/nattaylor/public_html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/nattaylor/public_html/wordpress/wp-settings.php(727): do_action('...')
#17 /home/nattaylor/public_html/wordpress/wp-config.php(84): require_once('...')
#18 /home/nattaylor/public_html/wordpress/wp-load.php(50): require_once('...')
#19 /home/nattaylor/public_html/wordpress/wp-blog-header.php(13): require_once('...')
#20 /home/nattaylor/public_html/wordpress/index.php(17): require('...')
</pre>] SELECT * FROM wp_options WHERE
WordPress database error: [<div style="clear:both"> </div><div class="queries" style="clear:both; margin_bottom:2px; border: red dotted thin;">Queries made or created this session were<br/>
<ol>
<li>Raw query:
SELECT * FROM wp_options WHERE </li>
<li>Rewritten:
SELECT * FROM wp_options WHERE </li>
<li>With Placeholders:
SELECT * FROM wp_options WHERE </li>
<li>Prepare:
SELECT * FROM wp_options WHERE </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 1644 in Function prepare_query. <br/> Error message was: Problem preparing the PDO SQL Statement. Error was: SQLSTATE[HY000]: General error: 1 incomplete input </div><pre>#0 /home/nattaylor/public_html/wordpress/wp-content/db.php(2746): WP_SQLite_DB\PDOEngine->get_error_message()
#1 /home/nattaylor/public_html/wordpress/wp-content/db.php(3484): WP_SQLite_DB\wpsqlitedb->query('...')
#2 /home/nattaylor/public_html/wordpress/wp-content/db.php(2952): WP_SQLite_DB\PDOSQLiteDriver->execute_duplicate_key_update()
#3 /home/nattaylor/public_html/wordpress/wp-content/db.php(1893): WP_SQLite_DB\PDOSQLiteDriver->rewrite_query('...', '...')
#4 /home/nattaylor/public_html/wordpress/wp-content/db.php(1357): WP_SQLite_DB\PDOEngine->execute_insert_query_new('...')
#5 /home/nattaylor/public_html/wordpress/wp-content/db.php(2739): WP_SQLite_DB\PDOEngine->query('...')
#6 /home/nattaylor/public_html/wordpress/wp-includes/option.php(1143): WP_SQLite_DB\wpsqlitedb->query('...')
#7 /home/nattaylor/public_html/wordpress/wp-includes/option.php(2170): add_option('...', Array, '', '...')
#8 /home/nattaylor/public_html/wordpress/wp-includes/option.php(1953): add_network_option(1, '...', Array)
#9 /home/nattaylor/public_html/wordpress/wp-includes/option.php(2663): add_site_option('...', Array)
#10 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-theme.php(2047): set_site_transient('...', Array, 1800)
#11 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-theme.php(1856): WP_Theme->set_pattern_cache(Array)
#12 /home/nattaylor/public_html/wordpress/wp-includes/block-patterns.php(374): WP_Theme->get_block_patterns()
#13 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-hook.php(324): _register_theme_block_patterns('')
#14 /home/nattaylor/public_html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#15 /home/nattaylor/public_html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/nattaylor/public_html/wordpress/wp-settings.php(727): do_action('...')
#17 /home/nattaylor/public_html/wordpress/wp-config.php(84): require_once('...')
#18 /home/nattaylor/public_html/wordpress/wp-load.php(50): require_once('...')
#19 /home/nattaylor/public_html/wordpress/wp-blog-header.php(13): require_once('...')
#20 /home/nattaylor/public_html/wordpress/index.php(17): require('...')
</pre>] SELECT * FROM wp_options WHERE
New, Boring Theme! by Nat Taylor
Nat Taylor — Blog, AI, Product Management & Tinkering
New, Boring Theme!
Published on .
After about a year of using a slightly modified version of the Less theme, I’ve developed and deployed a new even lesser theme for nattaylor.com that is focused on performance and simplicity.
The design won’t “wow” anyone, but it should load almost instantly and be easy to read.
There are several things that I’m trying out, including the following:
Disables oEmbed & emoji I don’t have much use for these, so I disabled them to avoid loading extra resources in the <head>
HTML5 gallery and caption markup It only takes 1 line of code to enable this core feature
NOINDEX for archives, paged-sections and attachments I hate the way these pages look when they show up in Google search results, since they don’t represent actual content.
Basic responsive stylesheet I set max-width:100%, overflow-x: scroll for most elements, which basically delivers a fully responsive layout.
~60 characters per line For the sake of readability, the line length is around 60 characters.
2kb Payload Pages weigh just a few kilobytes compressed. The homepage is just 1,458 bytes!
A Single HTTP Request Pages (excluding images) require just one HTTP request.
I’m not completely done. I’m omitting the Google Analytics tag, at least for now, and relying on awstats instead but I’m toying with both a micro Google Analytics library or using the pixel version. I also want a better solution for the gallery lightbox, which currently relies on a plugin and a better gallery layout.