CCUA_IT_Guy
Member
Posted 3 months ago #
Using EME v.1.1.13 and unable to add new events because of a call to wp_editor().
[12-Feb-2013 13:04:12] PHP Fatal error: Call to undefined function wp_editor() in /var/www/html/vhosts/columbiaurbanag_org/wp-content/plugins/events-made-easy/eme_events.php on line 2629
I understand that my current version of WP (3.1) does not have this function, but WP 3.3.1 does. I am currently unable to upgrade due to hosting constraints. Is there a workaround that I can use to allow new events to be added?
http://wordpress.org/extend/plugins/events-made-easy/
Franky
Member
Plugin Author
Posted 3 months ago #
Yes, it is possible, by changing every occurence from wp_editor to the_editor with only the first argument. For example, from:
wp_editor($event ['event_notes'],"content");
to:
the_editor($event ['event_notes']);
CCUA_IT_Guy
Member
Posted 3 months ago #
Franky
Member
Plugin Author
Posted 3 months ago #
Glad to hear. Please do keep in mind that you'll need to do this for every release until you upgraded your wordpress (which I advise to do, for security reasons).