Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable "CraftClient" does not exist #2686

Closed
lukeyouell opened this issue Apr 5, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@lukeyouell
Copy link

commented Apr 5, 2018

Description

After updating to the latest version of Craft (3.0.1) the dashboard is throwing an error:

Variable "CraftClient" does not exist

image

Additional info

  • Craft version: 3.0.1
  • PHP version: 7.2.4
@mudechs

This comment has been minimized.

Copy link

commented Apr 5, 2018

Same issue here.

Craft version: 3.0.1
PHP version: 7.1.12

@angrybrad

This comment has been minimized.

Copy link
Member

commented Apr 6, 2018

For anyone running into this, can you try clearing your craft/storage/runtime/compiled_templates folder and see if that helps? If not, can you check and see if you have opcache or any other PHP byte level caching extensions installed on your box like APC?

@lukeyouell

This comment has been minimized.

Copy link
Author

commented Apr 6, 2018

@angrybrad clearing the compiled templates folder did the trick!

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Apr 8, 2018

Starting in the next release, Craft will make sure all compiled templates are cleared out whenever Craft or a plugin is updated, to guard against this sort of thing. (7c1b32a)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.