Please follow the general troubleshooting steps first:
[x] I read the README and followed the instructions.
[x] I am sure that the used CSL metadata follows the CSL schema.
[x] I use a valid CSL stylesheet
Bug reports:
PHP Fatal error: Uncaught Error: Call to a member function filter() on null in …/citeproc-php/src/Context.php:439
Stack trace:
#0 …/citeproc-php/src/Constraint/Locator.php(30): Seboettg\CiteProc\Context->getCitationItemById('ID001')
#1 …/citeproc-php/src/Constraint/AbstractConstraint.php(91): Seboettg\CiteProc\Constraint\Locator->matchForVariable('page', Object(stdClass))
I have not understood the logic. Fast hack, if ($context->isModeCitation()) in Locator.
Please follow the general troubleshooting steps first:
Bug reports:
I have not understood the logic. Fast hack,
if ($context->isModeCitation())
in Locator.Used CSL stylesheet:
nouvelles-perspectives-en-sciences-sociales.csl
Used CSL metadata
[ { "id": "ID001", "type": "article-journal", "title": "A title" } ]