Call to undefined function mfrh_rename()
-
I am renaming attachments for 2 different CPTs, so just to avoid any confusion with the code, I have 2 separate functions which invoke mfrh_rename when a post is created or updated.
Both CPTs can be updated via the front end, but for one of them, users see “There has been a critical error on your website.”
The error is:
Uncaught Error: Call to undefined function mfrh_rename()
If I go and edit that CPT from wp-admin, it works fine. The other CPT works fine from both the frontend and backend.
Do I need to do something specific to load the mfrh plugin?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Call to undefined function mfrh_rename()’ is closed to new replies.