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
Closed

Variable "CraftClient" does not exist #2686

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

Comments

@lukeyouell
Copy link

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
Copy link

mudechs commented Apr 5, 2018

Same issue here.

Craft version: 3.0.1
PHP version: 7.1.12

@angrybrad
Copy link
Member

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
Copy link
Author

@angrybrad clearing the compiled templates folder did the trick!

@brandonkelly
Copy link
Member

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants