Title: no editor buttons, database error
Last modified: October 23, 2017

---

# no editor buttons, database error

 *  Resolved [createscape](https://wordpress.org/support/users/createscape/)
 * (@createscape)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/no-editor-buttons-database-error/)
 * I have the Applique theme installed and when Yoast is activated the wordpress
   editor buttons disappear, and there are tiny mce related errors on post-new.php
   in console. I’ve tried deactivating all other plugins.
 *     ```
       Uncaught SyntaxError: Invalid or unexpected token
       post-new.php?post_type=page:2243 Uncaught ReferenceError: tinyMCEPreInit is not defined
           at post-new.php?post_type=page:2243
           at post-new.php?post_type=page:2266
       (anonymous)	@	post-new.php?post_type=page:2243
       (anonymous)	@	post-new.php?post_type=page:2266
       load-scripts.php?c=0…embed&ver=4.8.2:674 Uncaught TypeError: Cannot read property 'mceInit' of undefined
           at e (load-scripts.php?c=0…embed&ver=4.8.2:674)
           at HTMLDocument.<anonymous> (load-scripts.php?c=0…embed&ver=4.8.2:674)
           at a (tinymce.min.js?ver=4603-20170530:2)
           at HTMLDocument.p (tinymce.min.js?ver=4603-20170530:2)
       e	@	load-scripts.php?c=0…embed&ver=4.8.2:674
       (anonymous)	@	load-scripts.php?c=0…embed&ver=4.8.2:674
       a	@	tinymce.min.js?ver=4603-20170530:2
       p	@	tinymce.min.js?ver=4603-20170530:2
       load-scripts.php?c=0…embed&ver=4.8.2:674 Uncaught TypeError: Cannot read property 'mceInit' of undefined
           at e (load-scripts.php?c=0…embed&ver=4.8.2:674)
           at HTMLDocument.<anonymous> (load-scripts.php?c=0…embed&ver=4.8.2:674)
           at a (tinymce.min.js?ver=4603-20170530:2)
           at HTMLDocument.p (tinymce.min.js?ver=4603-20170530:2)
       e	@	load-scripts.php?c=0…embed&ver=4.8.2:674
       (anonymous)	@	load-scripts.php?c=0…embed&ver=4.8.2:674
       a	@	tinymce.min.js?ver=4603-20170530:2
       p	@	tinymce.min.js?ver=4603-20170530:2
       ```
   
 * There’s also an error log in the wordpress core wp-admin folder:
 *     ```
       [23-Oct-2017 21:13:51 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%2$s
       			 WHERE target_post_id IN( %3$s )
       		  GROUP BY target_post_id' at line 2 for query 
       			SELECT COUNT( id ) AS incoming, target_post_id AS post_id
       			  FROM %2$s
       			 WHERE target_post_id IN( %3$s )
       		  GROUP BY target_post_id made by edit_post, wp_update_post, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Link_Watcher->save_post, WPSEO_Link_Content_Processor->process, WPSEO_Link_Content_Processor->update_incoming_links, WPSEO_Meta_Storage->update_incoming_link_count
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [monbauza](https://wordpress.org/support/users/monbauza/)
 * (@monbauza)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/no-editor-buttons-database-error/#post-9614746)
 * Hi [@createscape](https://wordpress.org/support/users/createscape/),
 * Can you please make sure you’re running the latest version of WordPress 4.8.2,
   Yoast SEO 5.6.1 and your theme?
 * If you are already up-to-date and the problem persists, please check if the issue
   is still the same when all non-Yoast plugins are deactivated _and_ your theme
   is on [Twenty Seventeen](https://wordpress.org/themes/twentyseventeen/).
 *  [Jerlyn](https://wordpress.org/support/users/jerparx/)
 * (@jerparx)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/no-editor-buttons-database-error/#post-9637899)
 * Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘no editor buttons, database error’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [buttons missing](https://wordpress.org/support/topic-tag/buttons-missing/)
 * [sql-error](https://wordpress.org/support/topic-tag/sql-error/)
 * [tiny-mce](https://wordpress.org/support/topic-tag/tiny-mce/)
 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jerlyn](https://wordpress.org/support/users/jerparx/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/no-editor-buttons-database-error/#post-9637899)
 * Status: resolved