PHP Notice: Undefined variable: set_post_name
-
When publishing an event that was previously saved as draft, at the time of clicking the Publish button, we encounter the error
Notice: Undefined variable: set_post_name in wp-content/plugins/events-manager/classes/em-event.php on line 1154 Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/events-manager/classes/em-event.php:1154) in wp-admin/post.php on line 197 Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/events-manager/classes/em-event.php:1154) in wp-includes/pluggable.php on line 1210WordPress 4.8.1, PHP 7.0, events-manager 4.8.1 (r1720673), free version.
I managed to temporary fix the problem by adding at line 1174 in function
set_status()inclasses/em-event.php:$set_post_name = false;I wanted to submit a pull request. How can we contribute to the code? Why does
events-manageris still using SVN and didn’t move to GitHub?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘PHP Notice: Undefined variable: set_post_name’ is closed to new replies.