Posted: December 13, 2016 at 2:46 pm
|
Hi when i try to add a new “venue” or “event” if getFatal error: Call to undefined function get_preview_post_link() in /home/path removed by me/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php on line 481 |
Hi there, Your site will need at least WordPress 4.4 in order to have the get_preview_post_link() function defined. |
|
|
Hi Josh Thank you for your quick response. Is there a scenario where we can combine those two worlds? |
|
From youre requirements https://eventespresso.com/requirements |
I gather that you’re not going to update to the current version then? So what you would need to do is add a shim to your site:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file. Then later on, if you ever end up maintaining your site and updating to a current version of WordPress, you can remove the shim. |
|
|
Hi Josh Best regards – will mark it as solved |
The support post ‘Fatal error: Call to undefined function get_preview_post_link() – Urgent!!’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.