block error

Permalink
I'm getting the error when going to Block Types:

An unexpected error occurred.
Class 'BlockController' not found

Just added basic_test block and now there is an error.
Can't get to the block I added.
Can you help?

 
hutman replied on at Permalink Reply
hutman
What version of C5 are you using?
What does your block controller look like?
WillzShire replied on at Permalink Reply 1 Attachment
Using concrete5.7.5.6

What does controller look like? don't know what you mean.
Attached is .zip of block folder and controller folder
hutman replied on at Permalink Reply
hutman
You are missing the namespace at the top of the controller and the use statement.

use \Concrete\Core\Block\BlockController;