You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument 1 passed to craft\web\twig\variables\Paginate::getPageUrl()
must be of the type integer, null given, called in
/project/vendor/nystudio107/craft-seomatic/src/helpers/DynamicMeta.php on line 59
Adjusting the condition to check currentPage is set seems to rectify the issue. Perhaps it should be the totalPages instead?
if ($pageInfo !== null && $pageInfo->currentPage) {
For context, there’s zero results on the page where I’m seeing this. The page info object getting passed to that method below, for reference.
PHP is throwing a type error in
DynamicMeta
.Adjusting the condition to check
currentPage
is set seems to rectify the issue. Perhaps it should be thetotalPages
instead?For context, there’s zero results on the page where I’m seeing this. The page info object getting passed to that method below, for reference.
The text was updated successfully, but these errors were encountered: