Posted: November 23, 2019 at 2:15 am
We are just ready go live with this events system – today we moved the site to a new server and I am now getting a lot of error messages on the event setup pages: Warning: call_user_func_array expects parameter 1 to be a valid callback, function ‘disable-emojicons_tinymce’ not found or invalid function name…. Warning: array_unique() expects parameter 2 to be array, null given in … Warning: array_search() expects parameter 2 to be array, null given in… Warning: in_array() expects parameter 2 to be array, null given in… Warning: implode(): invalid arguments passed in all in the wp-includes/class-wp-editor.php file |
|
Hi there, It sounds like someone wasn’t moved/copied to the new server.
Event Espresso doesn’t have a I did a quick Google search for ‘disable-emojicons_tinymce’ and this is the first article found: https://kinsta.com/knowledgebase/disable-emojis-wordpress/ That references the above function so was something like that added to the site?
Without knowing the line numbers to see what code is actually running for those errors it’s hard to know what the problem is, but it’s possibly linked to the first error. — The first step I would take is to confirm that all of the files were copied from the original server to the new one, then find where ‘disable-emojicons_tinymce` has been added to the site (my guess is the themes functions.php file but it could also be ain a plugin) and confirm that whatever it is referencing was actually moved over. |
|
Thank you for this. I have replaced the EE plugin files, the Divi files, and the wordpress files. I haven’t disabled any emojis, so I’m guessing this is something in the Divi theme code? I didn’t have the errors showing on the old site before we moved it, but it may just have been the the error viewing was turned off. I’m not a coder so I don’t think I should start messing with Divi’s code. I haven’t added any plugins that have anything to do with emojis – we have Bloom, Duplicate Post, Enable Media Replace, Google Analytics by MonsterInsights, The SiteGround Optimizer and Yoast SEO, along with the various EE plugins. My host was also trying to help with this, they just said it was something to do with the plugin, and they disabled the error view so I can no longer see them. I assume it won’t affect the functionality of the events system? Thanks! |
|
Also, you mentioned the line numbers – I can send you a screen shot of the errors before display errors was turned off if that helps – I did copy them first. The full text was as follows:
|
|
No need for screenshots, the above works fine and yeah, all of those relate to the
Just to clarify, the above is not from Event Espresso, we don’t have any code relating to Hiding the errors won’t prevent registrations etc but it may affect the event editor when you try to edit the event description. Does the text editor work when you edit an event? |
|
Yes it does. |
|
The PHP warnings are likely more of a nuisance than anything else, but ideally the errant code should be removed. The code could be loading from the /wp-content/mu-plugins folder so you could check in there. It’s not likely that the code is coming from your theme if the theme files haven’t been edited. |
|
The support post ‘A lot of errors on edit event pages after moving to new hosting’ 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.