wpsharks / comment-mail

A WordPress plugin enabling email subscriptions for comments.
http://comment-mail.com
GNU General Public License v3.0
8 stars 3 forks source link

Fatal Error replying to comments in Comment Mail Lite #297

Closed raamdev closed 8 years ago

raamdev commented 8 years ago

This bug was originally reported on the WordPress Support Forum here and here and here and here.


The following appears when replying to comments on the site as a logged-in admin using Comment Mail Lite v160818:

2016-08-23_23-37-02

Fatal error: Uncaught exception 'Exception' with message 'Undefined overload property: `utils_rve`.' in /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/AbsBase.php:111
Stack trace:
#0 /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/Plugin.php(866): WebSharks\CommentMail\AbsBase->__get('utils_rve')
#1 /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/UtilsPhp.php(87) : eval()'d code(109): WebSharks\CommentMail\Plugin->__get('utils_rve')
#2 /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/UtilsPhp.php(87): eval()
#3 /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/Template.php(149): WebSharks\CommentMail\UtilsPhp->evaluate('<?php\nnamespace...', Array)
#4 /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/QueueProcessor.php(898): WebSharks\CommentMail\Template->parse(Array)
#5 /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/QueuePr in /vagrant/src/app/src/wp/wp-content/plugins/comment-mail/src/includes/classes/AbsBase.php on line 111

This appears to be related to something that is expecting the RVE code to be present, likely the result of the work done in https://github.com/websharks/comment-mail/issues/285 for the last release.


Additionally, when replying to comments from the WordPress Dashboard, the following shows up under the comment box. The comment reply goes through, but the JavaScript that refreshes the form fails and makes it look like the reply did not go through:

2016-08-23_23-39-11


Temporary Workaround

At this time the only workaround is rolling back to the previous version of Comment Mail Lite, v160618.

raamdev commented 8 years ago

Next Release Changelog:

raamdev commented 8 years ago

Comment Mail v160824 has been released and includes changes from this GitHub Issue. See the v160824 announcement for further details.


This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#297).