Fatal error on Panel after update

Hello,

I have updated to Kirby 2.2.

On my local machine it works fine. When i uploaded to the server i get the following error

Fatal error: Call to undefined method Html::isVoid() in / ... /kirby/toolkit/lib/brick.php on line 178

Any ideas? im not sure where to begin debugging.

local Php version 5.5.26
server Php version 5.5.21 (media temple)

Thanks,

it sounds like you still got an old toolkit version. Did you update via Git? In that case you need to update all submodules as well.

thanks for the reply, ill look into that.

I didn’t update via Git though, i downloaded the package in the downloads page and overwrote the kirby and panel folders.

I see what happened now, i had copied some files from the old Kirby version by mistake. Sorry about that and thanks for the quick reply.

I’m glad you were able to solve it :smile: