view.php bug for PHP72 error OR No Result Text may not be working for a while
Permalink Browser Info Environment
Line 140 of
/skybluesofa_page_list_plus/blocks/page_list_plus/view.php
You need to change from
to
Otherwise you get the following error on PHP7.2 which you can now only use count() for array.
I think No Result Text function was not working for a while.
/skybluesofa_page_list_plus/blocks/page_list_plus/view.php
You need to change from
<?php if (count($pages) == 0): ?>
to
<?php if (count($controller->pages) == 0): ?>
Otherwise you get the following error on PHP7.2 which you can now only use count() for array.
I think No Result Text function was not working for a while.
Type: | Discussion |
---|---|
Status: | In Progress |
Sorry I posted from the company account.