quickapps / cms

Modular CMS powered by CakePHP
GNU General Public License v3.0
164 stars 69 forks source link

problem on rendering content block #121

Closed Gabri closed 9 years ago

Gabri commented 9 years ago

Hi,

I'm facing these errors:

2015-08-25 23:34:55 Error: Fatal Error (1): Class 'Block\View\Router' not found in [/opt/gabri/Web/ial2/vendor/quickapps/cms/plugins/Block/src/View/Region.php, line 351]
Trace:
Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 192
Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 91
[main] - [internal], line ??

2015-08-25 23:34:55 Error: [Cake\Error\FatalErrorException] Class 'Block\View\Router' not found
Request URL: /ial2/
Stack Trace:
#0 /opt/gabri/Web/ial2/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(91): Cake\Error\BaseErrorHandler->handleFatalError(1, 'Class 'Block\Vi...', '/opt/gabri/Web/...', 351)
#1 [internal function]: Cake\Error\BaseErrorHandler->Cake\Error\{closure}()
#2 {main}

When in the default.ctp of my Theme I try to render a region that links to a my new block with some content inside. If I uncheck the Published checkbox, nothing happen. Same errors occur if I try to put that block in another region that is already shown. I cleared cache, but the same result

Have you any suggestions?