We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Error on Update: call_user_func_array() expects parameter 1 to be a valid callback

Developer Preview

kmartens's avatar
kmartens
155 posts
7 years ago
kmartens's avatar kmartens

I am trying to update from dp2 to dp3 and I get this error on the updater:

Update Stopped

Oops, looks like the updater couldn’t complete.

We stopped on Updating files.

Warning

call_user_func_array() expects parameter 1 to be a valid callback, class ‘EllisLab/ExpressionEngine/Service/Updater/Runner’ does not have a method ‘updateFiles’

ee/EllisLab/ExpressionEngine/Service/Updater/SteppableTrait.php, line 96

Severity: E_WARNING

{"messageType":"success","message":"Updating files","nextStep":"updateFiles"}

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
7 years ago
Kevin Cupp's avatar Kevin Cupp

Does this happen to be an exsting install that you’ve upgraded to DP (rather than upgrading a fresh DP install)? If so, did you also replace your admin.php and system/index.php? If not, do that, and you’ll also likely need to remove the system/ee/updater folder.

       
kmartens's avatar
kmartens
155 posts
7 years ago
kmartens's avatar kmartens

Yes, it was originally an EE 3.5 install. I then upgraded to EE 4 dp2. That went smoothly, but my config file did end up with 4.0.0 as version number instead of 4.0.0-dp2. I ended up just manually updating to DP3 and things generally seemed okay after. However, you may be onto something with the admin.php file… it’s possible I forgot to update that one file.

I guess I’ll see how it goes for DP4 :D

       
kmartens's avatar
kmartens
155 posts
7 years ago
kmartens's avatar kmartens

I should note however, after getting everything going successfully (seemingly anyway), EE always says I am out of date (while my config says 4.0.0-dp.3, which is assume it what it should be - I have been manually entering that in there - if I don’t I constantly see a “Your ExpressionEngine installation’s version (4.0.0) is not consistent with the reported version (4.0.0-dp.3). Please update your installation of ExpressionEngine again.” banner at top of CP). For the heck of it, I tried running the updater anyway, and it actually seems to load what appears to be like 3.5.x after update. :D

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Possibly related: make sure you are using the license file from the Developer Preview download if you’re updating an existing install.

       
kmartens's avatar
kmartens
155 posts
7 years ago
kmartens's avatar kmartens

Ahh, that was it. Thanks guys! 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.