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

500 error on Ajax request when use ShopKeeper #109

@wax100

Description

@wax100

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; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions