Posted: July 23, 2017 at 11:05 am
|
Original Thread: https://eventespresso.com/topic/fatal-error-function-name-must-be-a-string-in/ I also have this exact issue when editing an event. A white screen of death to …/wp-admin/post.php appears after pressing the update button on the Edit Event page. The line 1029 error message only showed for me with the following additions to my wp-config.php file: error_reporting(E_ALL); ini_set(‘display_errors’, 1); Environment: Please help as I do have some tight deadlines for this event, as I’m sure most of your customers have for theirs. Please contact me if I can help you resolve this issue in any way. Regards, |
Hi Ian, You’ll need to upgrade your server from PHP 5.3.29 (or contact your host and ask them to do the upgrade). The error you’re seeing is a result from using an unsupported version of PHP. The supported versions of PHP are listed here: |
|
|
Thanks Josh, Ian. |
|
I have updated the site to PHP 5.6.30 and it appears to have fixed the issue. Ian. |
Hi there, 5.6.xx now only receives security fixes and will soon be EOL in Jan 2019, personally, I would look into switching over to PHP 7. Note that a jump to PHP 7 may highlight issues with plugins (or the theme) doing things wrong or using what are now considered deprecated functions and so on. I’d recommend creating a development site (a copy of the surrent site on a subdomain for example), switching to PHP 7 there and testing that all of your plugins are compatible before doing so on the live site. |
|
|
Thanks for the advice. Ian. |
You’re most welcome. Any further problems please od let us know. |
|
|
As you offered… I’m using PayPal express checkout and on the thank-you page the “loading transaction and payment information…” box is never being populated. I read about the issue about the WP heartbeat and I don’t believe that is the problem. I loaded the Heartbeat Control plugin and setting that to “allow only on Post Edit pages” actually removes the spinning cog activity indicator. So leaving the heartbeat on its default settings and watching the page using Firefox developer tools shows that admin-ajax.php is being repeatedly requested with the wrong URL causing a stream of 404s. So the URL being requested is: Thanks, |
Hi Ian, It’s OK to install WordPress in a subdirectory, but you need to follow the steps from this guide closely and not skip any steps: https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory |
|
|
Hello again, This morning I noticed that there was an update for Espresso 4.9.45.p so I selected update now from the plugin list itself. After a wait of a minute or so there was an error displayed which I have not captured unfortunately (never again!) and the site went to maintenance mode for a good few minutes and then returned. The Espresso plugin is no longer listed but the Ticketing add-on is still listed. event-espresso-core-reg files are still present in the plugins directory. Should I restore a backup of the database and site or is there a simpler way to reload the espresso plugin? Any ideas why the plugin would disappear after a minor update? Thanks, |
Hi Ian, When the plugin isn’t listed on the WP Plugins page that’s an indication there are missing files within the plugin folder. The database is quite likely OK. Here’s how to fix: |
|
|
Thanks, Josh. I was not able to use the “Add New” feature as the plugin just would not install after the “Unpacking the package…” message. I tried many times without success. What worked for me in the end was to unzip the plugin myself, FTP the files into the plugins folder and then activate the plugin from my WordPress site. It would be good to have some sort of understanding about the plugin install and updating issues that I have – I guess that they are not Event Espresso related but rather more general than that. I have web hosting with a large provider that should be good enough but the response times can be a little slow. Thanks for your help (again!), |
Usually when plugins don’t update or install via the WP dashboard it’s a filesystem permissions issue where WP isn’t allowed work with the server’s filesystem. Sometimes adding the WordPress Upgrade Constants to your site’s wp-config.php file will help. There’s more information about those in the WordPress codex: https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants |
|
The support post ‘Split: Split: Fatal error: Function name must be a string in…’ 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.