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

Fatal error when opening resource in modx #152

Closed
Adwise opened this issue Jan 20, 2017 · 6 comments
Closed

Fatal error when opening resource in modx #152

Adwise opened this issue Jan 20, 2017 · 6 comments
Assignees
Labels

Comments

@Adwise
Copy link

Adwise commented Jan 20, 2017

After upgrading modx to 2.5.4 when opening a resource it gives the following error:

Fatal error: Call to a member function get() on a non-object in /home/[user]/domains/[domain]/public_html/core/cache/includes/elements/modplugin/15.include.cache.php on line 54

Babel is on latest version 3.0.0

When plugin Babel is disabled this plugin is disabled problem is solved. This seems to be a problem because $resource is an array instead of an object.

@brescianicri
Copy link

brescianicri commented Jan 20, 2017

I have similar problem, when i open the resource i see blank page, but if i disable babel the page work.

@brescianicri
Copy link

Alfter this row:
$languages = $this->modx->cacheManager->get('languages', $cacheOptions);
i recive blank page.

@brescianicri
Copy link

Sometimes i view this error:
Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 571647 bytes) in ... core/xpdo/cache/xpdocachemanager.class.php on line 980

@goldsky goldsky self-assigned this Jan 24, 2017
@goldsky goldsky added the bug label Jan 24, 2017
@goldsky
Copy link
Collaborator

goldsky commented Jan 30, 2017 via email

@goldsky
Copy link
Collaborator

goldsky commented Jan 30, 2017 via email

@intersel
Copy link

To answer to the problem of @Adwise
I had the exact same error... and it was solved by updating the TinyMCE package...
its previous behaviour sounded not correct as it transformed the resource object in a resource array hence the error...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants