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

MODX 3 No access policies or policy templates #14696

Closed
Ruslan-Aleev opened this issue Aug 24, 2019 · 2 comments
Closed

MODX 3 No access policies or policy templates #14696

Ruslan-Aleev opened this issue Aug 24, 2019 · 2 comments

Comments

@Ruslan-Aleev
Copy link
Collaborator

Bug report

Summary

Access policies and policy templates disappeared in the manager panel, see screen.

policies

And errors appear in the console:

[2019-08-24 14:15:41] (ERROR in xPDO\xPDO::call @ /home/a/aleeviz8/m3/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 759) MODX\Revolution\modX::loadClass is deprecated since version 3.0. Replace references to class modAccessPolicyTemplate with MODX\Revolution\modAccessPolicyTemplate to take advantage of PSR-4 autoloading.
[2019-08-24 14:15:41] (ERROR in xPDO\xPDO::getFields @ /home/a/aleeviz8/m3/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 1401) MODX\Revolution\modX::loadClass is deprecated since version 3.0. Replace references to class modAccessPolicyTemplate with MODX\Revolution\modAccessPolicyTemplate to take advantage of PSR-4 autoloading.
[2019-08-24 14:15:41] (ERROR @ /home/a/aleeviz8/m3/public_html/core/vendor/xpdo/xpdo/src/xPDO/Om/xPDOObject.php : 227) Error 42S22 executing statement: 
Array
(
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'MODX\Revolution\modAccessPolicyTemplate.name' in 'order clause'
)

Environment

MODX 3

@Mark-H
Copy link
Collaborator

Mark-H commented Sep 1, 2019

Prepeared PR #14706 to fix this - would be great if you could confirm.

@Mark-H Mark-H removed their assignment Sep 1, 2019
@Ibochkarev
Copy link
Collaborator

Fixed in #14706 @modxbot close

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

Successfully merging a pull request may close this issue.

4 participants