Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

500 error on Ajax request when use ShopKeeper #109

Open
wax100 opened this issue Mar 19, 2021 · 0 comments
Open

500 error on Ajax request when use ShopKeeper #109

wax100 opened this issue Mar 19, 2021 · 0 comments

Comments

@wax100
Copy link
Collaborator

wax100 commented Mar 19, 2021

when U try to add product to basket , 500 error appear in plugin seoPro

case 'OnLoadWebDocument': $template = ($modx->resource->get('template')) ? (string)$modx->resource->get('template') : '';
Because $modx->resource is NULL;

So, I suggest to add before this line
if(!$modx->resource){ break; }

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

No branches or pull requests

1 participant