ErrorException /var/www/vhosts/skynett81.net/themoderator.stream/view/front/plugins/portfolio/simple/index.tpl.php : 22
Trying to access array offset on value of type int
Extra info |
https://themoderator.stream/page/services
Code /var/www/vhosts/skynett81.net/themoderator.stream/view/front/plugins/portfolio/simple/index.tpl.php:22
12 | use Wojo\Module\Portfolio\Portfolio; |
13 | use Wojo\Url\Url; |
14 | use Wojo\Utility\Utility; |
15 | |
16 | if (!defined('_WOJO')) { |
17 | die('Direct access to this location is not allowed.'); |
18 | } |
19 | |
20 | $settings = Utility::findInArray($this->properties['all'], 'id', $this->properties['id']); |
21 | ?> |
22 | <div class="wojo plugin<?php echo ($settings[0]->alt_class)? ' ' . $settings[0]->alt_class : null; ?>"> |
23 | <?php if ($rows = Portfolio::simpleItems()): ?> |
24 | <div class="mason three"> |
25 | <?php foreach ($rows as $row): ?> |
26 | <div class="item"> |
27 | <div class="wojo attached card"> |
28 | <img src="<?php echo Portfolio::hasThumb($row->thumb, $row->id); ?>" alt="<?php echo $row->title; ?>" class="rounded-top"> |
29 | <div class="content"> |
30 | <p class="basic"> |
31 | <a href="<?php echo Url::url($this->properties['core']->modname['portfolio'] . '/' . $this->core->modname['portfolio-cat'], $row->cslug); ?>" class="grey"> |
Trace
Line | File | Class | Function |
22 | /var/www/vhosts/skynett81.net/themoderator.stream/view/front/plugins/portfolio/simple/index.tpl.php | Wojo\Core\Error | errorHandler |
100 | /var/www/vhosts/skynett81.net/themoderator.stream/library/Core/View.php | require | |
170 | /var/www/vhosts/skynett81.net/themoderator.stream/library/Core/Content.php | Wojo\Core\View | snippet |
54 | /var/www/vhosts/skynett81.net/themoderator.stream/view/front/themes/master/page.tpl.php | Wojo\Core\Content | parseContentData |
68 | /var/www/vhosts/skynett81.net/themoderator.stream/library/Core/View.php | include_once | |
133 | /var/www/vhosts/skynett81.net/themoderator.stream/library/Controller/Front/IndexController.php | Wojo\Core\View | render |
285 | /var/www/vhosts/skynett81.net/themoderator.stream/library/Core/Router.php | call_user_func | |
180 | /var/www/vhosts/skynett81.net/themoderator.stream/library/Core/Router.php | Wojo\Core\Router | handleRequest |
291 | /var/www/vhosts/skynett81.net/themoderator.stream/index.php | Wojo\Core\Router | run |