eZ Community » Forums » Install & configuration » strange Exception on production...
expandshrink

strange Exception on production environnement

strange Exception on production environnement

Monday 22 June 2015 8:45:00 am - 1 reply

Hello, i try to deploy my project on production environnement but there is a strange exception.Everything is ok on developpement mode but when i change to production i have an error 500.After checking the log file i got this:

request.CRITICAL: Uncaught PHP Exception eZ\Publish\Core\Base\Exceptions\NotFound\LimitationNotFoundException: "Limitation 'Classes' not found, needs to be implemented or configured to use Limitation\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%)" at /var/www/project/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/Helper/LimitationService.php line 51 {"exception":"[object] (eZ\\Publish\\Core\\Base\\Exceptions\\NotFound\\LimitationNotFoundException(code: 500): Limitation 'Classes' not found, needs to be implemented or configured to use Limitation\\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%) at /var/www/project/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/Helper/LimitationService.php:51)"} []

Can you help me please?Best regards

Modified on Monday 22 June 2015 8:50:40 am by anwar korti

Monday 04 April 2016 3:16:28 pm

Yo should define a generic limitation to prevent this error. More info can be found here: https://doc.ez.no/display/EZP/Limitations+reference

Hope this helps.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from