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

Error loading pages after latest update (linked to caching) #18

Description

@dredlong

After updating to the latest version, the pages where I'm using this plugin started throwing the error Call to a member function path() on null. It points to line 166 of the file TableImporterShortcode.php:

$path = $this->grav['shortcode']->getPage()->path();

Clearing the cache temporarily fixes the problem and lets the page load once, but then errors on reload. Setting cache_enable: false on the page prevents the error but I'd prefer to let the pages be cached if the issue can be addressed another way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions