Title: Fatal error
Last modified: September 1, 2016

---

# Fatal error

 *  Resolved [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2259/)
 * When logged in as admin, I get this Fatal Error where the Comment Mail box should
   be on single posts:
 * Fatal error: Uncaught exception ‘Exception’ with message ‘Query failure on SQL:`
   SELECT SQL_CALC_FOUND_ROWS`email`FROM`wp_comment_mail_subs`WHERE 1=1 AND`status`
   = 'subscribed' AND (`email`= 'myemail@gmail.com' OR`user_id`IN('7')) LIMIT 1`‘
   in /home/content/42/11223642/html/wp-content/plugins/comment-mail/src/includes/
   classes/UtilsSub.php:638 Stack trace: #0 /home/content/42/11223642/html/wp-content/
   plugins/comment-mail/src/includes/classes/UtilsPhp.php(87) : eval()’d code(35):
   WebSharks\CommentMail\UtilsSub->queryTotal(NULL, Array) #1 /home/content/42/11223642/
   html/wp-content/plugins/comment-mail/src/includes/classes/UtilsPhp.php(87): eval()#
   2 /home/content/42/11223642/html/wp-content/plugins/comment-mail/src/includes/
   classes/Template.php(149): WebSharks\CommentMail\UtilsPhp->evaluate(‘<?php?namespace…’,
   Array) #3 /home/content/42/11223642/html/wp-content/plugins/comment-mail/src/
   includes/classes/Template.php(241): WebSharks\CommentMail\Template->parse(Array)#
   4 /home/content/42/11223642/html/wp-content/plu in /home/content/42/11223642/
   html/wp-content/plugins/comment-mail/src/includes/classes/UtilsSub.php on line
   638
 * [https://wordpress.org/plugins/comment-mail/](https://wordpress.org/plugins/comment-mail/)

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

 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687268)
 * A client is receiving a similar fatal error on her site when she comments as 
   admin:
    `Fatal error: Uncaught exception 'Exception' with message 'Undefined 
   overload property:`utils_rve`.' in /home/content/p3pnexwpnas04_data03/81/2347981/
   html/wp-content/plugins/comment-mail/src/includes/classes/AbsBase.php:111 Stack
   trace: #0 /home/content/p3pnexwpnas04_data03/81/2347981/html/wp-content/plugins/
   comment-mail/src/includes/classes/Plugin.php(866): WebSharks\CommentMail\AbsBase-
   >__get('utils_rve') #1 /home/content/p3pnexwpnas04_data03/81/2347981/html/wp-
   content/plugins/comment-mail/src/includes/classes/UtilsPhp.php(87) : eval()'d
   code(109): WebSharks\CommentMail\Plugin->__get('utils_rve') #2 /home/content/
   p3pnexwpnas04_data03/81/2347981/html/wp-content/plugins/comment-mail/src/includes/
   classes/UtilsPhp.php(87): eval() #3 /home/content/p3pnexwpnas04_data03/81/2347981/
   html/wp-content/plugins/comment-mail/src/includes/classes/Template.php(149): 
   WebSharks\CommentMail\UtilsPhp->evaluate('<?php\nnamespace...', Array) #4 /home/
   content/p3pnexwpnas04_data03/81/2347981/html/wp-content/plugins/comment-mail/
   src/includes/cla in /home/content/p3pnexwpnas04_data03/81/2347981/html/wp-content/
   plugins/comment-mail/src/includes/classes/AbsBase.php on line 111` Rolling Comment
   Mail back to the previous version solved this problem.
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687327)
 * > When logged in as admin, I get this Fatal Error where the Comment Mail box 
   > should be on single posts:
   > Fatal error: Uncaught exception ‘Exception’ with message ‘Query failure on 
   > SQL: SELECT SQL_CALC_FOUND_ROWSemailFROMwp_comment_mail_subsWHERE 1=1 ANDstatus
   > = ‘subscribed’ AND (email= ‘myemail@gmail.com’ ORuser_idIN(‘7′)) LIMIT 1’ in/
   > home/content/42/11223642/html/wp-content/plugins/comment-mail/src/includes/
   > classes/UtilsSub.php:638
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) I haven’t
   been able to reproduce that issue at all. You’re seeing that on the front-end
   of the site, where the comment reply form is, while logged in as an admin? I 
   attempted to reproduce this but I’m just seeing the comment reply form (and it
   works fine for replying to comments as a visitor—replying as an admin has an 
   issue, see below).
 * Are you able to attempt reproducing that issue with all other plugins disabled
   and a default WordPress theme (e.g., Twenty Sixteen) enabled to rule out a conflict
   with another plugin?
 * Also, can you confirm which version of Comment Mail (Pro or Lite and version 
   number) that you’re seeing that error with?
 * > A client is receiving a similar fatal error on her site when she comments as
   > admin:
   >  Fatal error: Uncaught exception ‘Exception’ with message ‘Undefined
   > overload property:utils_rve.’ in /home/content/p3pnexwpnas04_data03/81/2347981/
   > html/wp-content/plugins/comment-mail/src/includes/classes/AbsBase.php:111
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) Thank 
   you very much for the report. I’ve confirmed this is indeed a bug that was introduced
   in the last release — somehow we missed it during our pre-release testing. 🙁
 * I’ve filed [a bug report](https://github.com/websharks/comment-mail/issues/297)
   and will work on getting a maintenance release out to fix this ASAP. I’ll update
   again here once that release goes out.
 * In the meantime, I recommend rolling back to the previous release of Comment 
   Mail, [v160618](http://comment-mail.com/release-archive/). If you make sure that
   Data Safeguards are enabled in the Comment Mail options, you can safely delete
   the current version of Comment Mail and then reinstall the old version — all 
   of your existing settings and subscriptions will be restored.
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687348)
 * On both sites, I’m using Lite, with version 160818. Rolling back to 160618 fixed
   the issue.
 * I was indeed seeing that on the front-end of the site, where the comment reply
   form is, while logged in as an admin. Unfortunately, I’ve been working with so
   many sites on this issue in the last several days that I can’t remember which
   one was giving me that exact error.
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687353)
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) Comment
   Mail v160824 has been released that includes a fix for the fatal error you reported.
   Please let me know if you run into any other issues. If you see that error related
   to SQL again after updating to v160824, please let me know exactly how you reproduce
   it—I haven’t been been able to reproduce that specific error at all.
 * [https://wordpress.org/plugins/comment-mail/changelog/](https://wordpress.org/plugins/comment-mail/changelog/)
 * > – **Bug Fix**: Fixed a bug that was generating a fatal error when replying 
   > to comments. This bug only affected the Lite version of Comment Mail and was
   > introduced by the previous release (v160818) where [work](https://github.com/websharks/comment-mail/issues/285)
   > was done to strip out unused Pro-only code from the Lite codebase. A few references
   > to Pro-only functions were missed and that resulted in fatal errors for the
   > Lite version in some scenarios. See [Issue #297](https://github.com/websharks/comment-mail/issues/297).
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687402)
 * The update takes care of the Undefined overload property fatal error.
 * However, in the meantime, I have found again the site that is getting the first
   error. And the error is persisting, even with the latest update.
 * The error message is `Fatal error: Uncaught exception 'Exception' with message'
   Query failure on SQL:`SELECT SQL_CALC_FOUND_ROWS `email` FROM `wp_comment_mail_subs`
   WHERE 1=1 AND `status` = ‘subscribed’ AND (`email` = ‘gretlouise@gmail.com’ OR`
   user_id` IN(‘7’)) LIMIT 1`' in /home/content/42/11223642/html/wp-content/plugins/
   comment-mail/src/includes/classes/UtilsSub.php:638 Stack trace: #0 /home/content/
   42/11223642/html/wp-content/plugins/comment-mail/src/includes/classes/UtilsPhp.
   php(87) : eval()'d code(35): WebSharks\CommentMail\UtilsSub->queryTotal(NULL,
   Array) #1 /home/content/42/11223642/html/wp-content/plugins/comment-mail/src/
   includes/classes/UtilsPhp.php(87): eval() #2 /home/content/42/11223642/html/wp-
   content/plugins/comment-mail/src/includes/classes/Template.php(149): WebSharks\
   CommentMail\UtilsPhp->evaluate('<?php?namespace...', Array) #3 /home/content/
   42/11223642/html/wp-content/plugins/comment-mail/src/includes/classes/Template.
   php(241): WebSharks\CommentMail\Template->parse(Array) #4 /home/content/42/11223642/
   html/wp-content/plu in /home/content/42/11223642/html/wp-content/plugins/comment-
   mail/src/includes/classes/UtilsSub.php on line 638`
 * It is appearing only on the front end of the site, where the Comment Mail box
   appears. Because it breaks everything past that, admins are unable to reply to
   comments on the front end of the site.
 * And when I try a test comment without being logged in as Admin, I’m given this
   error, but the comment does go through:
    `Fatal error: Uncaught exception 'Exception'
   with message 'Insert/replace failure.' in /home/content/42/11223642/html/wp-content/
   plugins/comment-mail/src/includes/classes/SubInserter.php:721 Stack trace: #0/
   home/content/42/11223642/html/wp-content/plugins/comment-mail/src/includes/classes/
   SubInserter.php(695): WebSharks\CommentMail\SubInserter->insert() #1 /home/content/
   42/11223642/html/wp-content/plugins/comment-mail/src/includes/classes/SubInserter.
   php(479): WebSharks\CommentMail\SubInserter->maybeInsertUpdate() #2 /home/content/
   42/11223642/html/wp-content/plugins/comment-mail/src/includes/classes/SubInjector.
   php(201): WebSharks\CommentMail\SubInserter->__construct(Array, Array) #3 /home/
   content/42/11223642/html/wp-content/plugins/comment-mail/src/includes/classes/
   SubInjector.php(142): WebSharks\CommentMail\SubInjector->maybeInject() #4 /home/
   content/42/11223642/html/wp-content/plugins/comment-mail/src/includes/classes/
   CommentPost.php(101): WebSharks\CommentMail\SubInjector->__construct(Object(WP_User),
   63459, Array) #5 in /home/content/42/11223642/html/wp-content/plugins/comment-
   mail/src/includes/classes/SubInserter.php on line 721`
 * The site is running Comment Luv, but I tried disabling it and the error persists.
 * Is there a way to private message you the URL of the site (it’s a client’s)?
 * Thank you!
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687403)
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) Please
   open a ticket using [this](http://bit.ly/2bVyYYA) (expires in 48 hours) link 
   and include the URL to this support thread in the message. 🙂
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687404)
 * I temporarily reactivated the plugin on my client’s site in order to take screenshots
   for you…and there are no more fatal errors! I went ahead and sent you her site
   and plugin list, just in case that is helpful. But I wonder if somehow the error
   was persisting from the previous version and it was corrected by reactivation?
   Sorry about that! I’m glad it’s fixed and working again for her because we like
   your plugin.
 * Thank you!

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

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/comment-mail/assets/icon-256x256.png?rev=1210411)
 * [Comment Mail](https://wordpress.org/plugins/comment-mail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comment-mail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comment-mail/)
 * [Active Topics](https://wordpress.org/support/plugin/comment-mail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comment-mail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comment-mail/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2259/#post-7687404)
 * Status: resolved