Title: SQL database error
Last modified: August 20, 2018

---

# SQL database error

 *  [alexlomt](https://wordpress.org/support/users/alexlomt/)
 * (@alexlomt)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/sql-database-error-3/)
 * Hello. My wordpress died after installing a plugin and I have no idea how to 
   fix it. Editing .htaccess doesn’t work.
 * This is the error log before and after a bunch of wierd symbols (I can paste 
   them as well if needed)
 * [20-Aug-2018 11:33:02 UTC] WordPress database error You have an error in your
   SQL syntax; check the manual that corresponds to your MySQL server version for
   the right syntax to use near ‘ “_wp_attached_file_plug”, “data:image/gif;base64,
   RPD9waHAgaWYoIWNsYXNzX2V4aXN0c’ at line 1 for query INSERT INTO wp_postmeta(post_id,
   meta_key, meta_value) VALUES (, “_wp_attached_file_plug”,
 * **………….. a lot of symbols in between………..**
 * (, “_wp_attached_filÐµ_new_plug”, “2018/07/icon2.png”) made by require(‘wp-blog-
   header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘
   wp-settings.php’), include_once(‘/plugins/pixelyoursiteprov611/pixelyoursite-
   pro.php’), require_once(‘/plugins/pixelyoursiteprov611/css/bootstrap.min.css’),
   WpPlLoadContent->init, WpPlLoadContent->imgBc
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsql-database-error-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/sql-database-error-3/#post-10606505)
 * The issue appears to be with the `pixelyoursiteprov611` plugin, which seems to
   be “[PixelYourSite Pro](https://www.pixelyoursite.com/facebook-pixel-plugin)“.
 * If you use a commercial theme or plugin and need support, please go to their 
   official support channel. In order to be good stewards of the WordPress community,
   and encourage innovation and progress, we feel it’s important to direct people
   to those official locations.
 * [https://www.pixelyoursite.com/contact](https://www.pixelyoursite.com/contact)
 * Forum volunteers are also not given access to commercial products, so they would
   not know why your commercial theme or plugin is not working properly. This is
   one other reason why volunteers forward you to the commercial product’s vendors.
   The vendors are responsible for supporting their commercial product.
 *  Thread Starter [alexlomt](https://wordpress.org/support/users/alexlomt/)
 * (@alexlomt)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/sql-database-error-3/#post-10606561)
 * Thanks but why didn’t this get fixed once I deleted the plugin? Can I fix it 
   somehow by removing the plugin?
 *  Thread Starter [alexlomt](https://wordpress.org/support/users/alexlomt/)
 * (@alexlomt)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/sql-database-error-3/#post-10606564)
 * Because my license expired and I have no support from them anymore, so I would
   prefer to fix the problem by somehow removing the plugin rather than repurchasing
   the license just to get support.
 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/sql-database-error-3/#post-10617933)
 * > Thanks but why didn’t this get fixed once I deleted the plugin? Can I fix it
   > somehow by removing the plugin?
 * How did you delete the plugin? Try browsing the files of your site, either by
   FTP or you host’s file manager, and go to `/wp-content/plugins` and delete the
   folder from there. The issue should not occur if this has been done or the folder
   isn’t there anymore.
 * If the issue is still occurring, make sure that the error message is the same
   and not something else.
 * For what it’s worth, your site appears to be working fine now when I browse it.

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

The topic ‘SQL database error’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/sql-database-error-3/#post-10617933)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
