Total de articulos: 2 | Result Pages: |
</tr>
</table>
</td>
<?php }
if ($articles_all_split->number_of_rows > 0) : ?>
<div>
<div class="left"> <?php echo TOTAL_ARTICLES; ?>:<b><?php echo $articles_all_split->number_of_rows; ?></div>
<div class="right"> <?php echo TEXT_RESULT_PAGE . ' ' . $articles_all_split->display_links(
MAX_DISPLAY_PAGE_LINKS,
tep_get_all_get_params(array('page', 'info', 'x', 'y'))
(strpos($message, 'Undefined array key') === false) &&
// (strpos($message, 'is deprecated in') === false) &&
(strpos($message, 'Trying to access array offset on') === false) &&
(strpos($message, 'Undefined variable') === false)
) {
$this->handleError($level, $message, $file, $line);
} else {
return true;
}
});
// set_error_handler(function ($level, $message, $file = '', $line = 0) {
</tr>
</table>
</td>
<?php }
if ($articles_all_split->number_of_rows > 0) : ?>
<div>
<div class="left"> <?php echo TOTAL_ARTICLES; ?>:<b><?php echo $articles_all_split->number_of_rows; ?></div>
<div class="right"> <?php echo TEXT_RESULT_PAGE . ' ' . $articles_all_split->display_links(
MAX_DISPLAY_PAGE_LINKS,
tep_get_all_get_params(array('page', 'info', 'x', 'y'))
<!-- END BREADCRUMBS -->
<!-- CONTENT -->
<?php
if (file_exists(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php')) {
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php'); // content from current template (if exists)
} else {
require(DIR_WS_CONTENT . $content . '.tpl.php'); // content from default template
}
?>
<!-- END CONTENT -->
if (empty($tPath)) {
http_response_code(404);
$content = CONTENT_ERROR_404;
}
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/' . TEMPLATENAME_MAIN_PAGE);
require(DIR_WS_INCLUDES . 'application_bottom.php');
ErrorException
|
---|
ErrorException: Attempt to read property "number_of_rows" on null at /home/pinsoft/public_html/templates/default/content/articles.tpl.php:214 at Bootstrap\HandleExceptions->handleError(2, 'Attempt to read property "number_of_rows" on null', '/home/pinsoft/public_html/templates/default/content/articles.tpl.php', 214) (/home/pinsoft/public_html/bootstrap/HandleExceptions.php:38) at Bootstrap\HandleExceptions->Bootstrap\{closure}(2, 'Attempt to read property "number_of_rows" on null', '/home/pinsoft/public_html/templates/default/content/articles.tpl.php', 214) (/home/pinsoft/public_html/templates/default/content/articles.tpl.php:214) at require('/home/pinsoft/public_html/templates/default/content/articles.tpl.php') (/home/pinsoft/public_html/templates/default/main_page.tpl.php:108) at require('/home/pinsoft/public_html/templates/default/main_page.tpl.php') (/home/pinsoft/public_html/articles.php:17) |