Title: Plugin Causing Fatal errors &amp; SQL Syntax Errors
Last modified: October 8, 2021

---

# Plugin Causing Fatal errors & SQL Syntax Errors

 *  Resolved [cmino](https://wordpress.org/support/users/cmino/)
 * (@cmino)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-errors-sql-syntax-errors/)
 * Hello, dear ELEXtensions team,
 * We’ve been using your plugin for a while now, but recently an error started to
   show up that is causing issues to the normal functioning of our store, since 
   it’s returning PHP fatal errors.
 * After analyzing our error_log we found the following errors that are causing 
   it to break our store:
 *     ```
       [08-Oct-2021 15:46:47 UTC] Erro na base de dados do WordPress 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 'AND feed_meta_key='manage_feed_data')' at line 1 na query SELECT feed_meta_content FROM wp_gpf_feeds WHERE (feed_id= AND feed_meta_key='manage_feed_data') feita por do_action_ref_array('elex_run_every_thirty_minutes'), WP_Hook->do_action, WP_Hook->apply_filters, elex_gpf_basic_cron_function, include_once('/plugins/elex-woocommerce-google-product-feed-plugin-basic/includes/elex-cron-schedule.php'), Elex_Cron_Schedule->__construct, Elex_Cron_Schedule->elex_gpf_update_cron_jobs, Elex_Gpf_Ajax_Call->elex_gpf_create_project, elex_gpf_get_feed_data
       [08-Oct-2021 15:46:47 UTC] PHP Notice:  Undefined offset: 0 in /home/****/public_html/wp-content/plugins/elex-woocommerce-google-product-feed-plugin-basic/includes/elex-ajax-functions.php on line 379
       [08-Oct-2021 15:46:47 UTC] PHP Notice:  Trying to access array offset on value of type null in /home/****/public_html/wp-content/plugins/elex-woocommerce-google-product-feed-plugin-basic/includes/elex-ajax-functions.php on line 379
       [08-Oct-2021 15:46:47 UTC] PHP Notice:  Trying to access array offset on value of type null in /home/****/public_html/wp-content/plugins/elex-woocommerce-google-product-feed-plugin-basic/includes/elex-ajax-functions.php on line 380
       [08-Oct-2021 15:46:47 UTC] PHP Notice:  Trying to access array offset on value of type null in /home/****/public_html/wp-content/plugins/elex-woocommerce-google-product-feed-plugin-basic/includes/elex-ajax-functions.php on line 381
       [08-Oct-2021 15:46:47 UTC] PHP Warning:  unlink(/home/****/public_html/wp-content/uploads/elex-product-feed/): Is a directory in /home/****/public_html/wp-content/plugins/elex-woocommerce-google-product-feed-plugin-basic/includes/elex-ajax-functions.php on line 381
       [08-Oct-2021 15:46:48 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/****/public_html/wp-content/plugins/elex-woocommerce-google-product-feed-plugin-basic/includes/elex-cron-schedule.php on line 105
       ```
   
 * From a first look, the issue seems something to regard to cronjobs, but also 
   there’s a SQL syntax error.
 * Could we get your help on this?
 * Thanks in advance!

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

 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-errors-sql-syntax-errors/#post-14960958)
 * Hello,
 * We have released a new plugin version with the fix. Please update plugin and 
   let us know the feedback.
    Thankyou!
 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-errors-sql-syntax-errors/#post-15013886)
 * Hello,
 * Hope the updated plugin has fixed the issue reported. Closing this thread for
   now. Feel free to get back if you have any further queries or concerns.

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

The topic ‘Plugin Causing Fatal errors & SQL Syntax Errors’ is closed to new replies.

 * ![](https://ps.w.org/elex-woocommerce-google-product-feed-plugin-basic/assets/
   icon-256x256.png?rev=2802310)
 * [ELEX WooCommerce Google Shopping (Google Product Feed)](https://wordpress.org/plugins/elex-woocommerce-google-product-feed-plugin-basic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elex-woocommerce-google-product-feed-plugin-basic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elex-woocommerce-google-product-feed-plugin-basic/)
 * [Active Topics](https://wordpress.org/support/plugin/elex-woocommerce-google-product-feed-plugin-basic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elex-woocommerce-google-product-feed-plugin-basic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elex-woocommerce-google-product-feed-plugin-basic/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-errors-sql-syntax-errors/#post-15013886)
 * Status: resolved