Debugger

ErrorException /home/theplugi/public_html/view/front/plugins/portfolio/simple/index.tpl.php : 22

Trying to access array offset on value of type int

Extra info

https://theplugin.iq/page/services

Code /home/theplugi/public_html/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/home/theplugi/public_html/view/front/plugins/portfolio/simple/index.tpl.phpWojo\Core\ErrorerrorHandler
100/home/theplugi/public_html/library/Core/View.phprequire
170/home/theplugi/public_html/library/Core/Content.phpWojo\Core\Viewsnippet
54/home/theplugi/public_html/view/front/themes/master/page.tpl.phpWojo\Core\ContentparseContentData
68/home/theplugi/public_html/library/Core/View.phpinclude_once
133/home/theplugi/public_html/library/Controller/Front/IndexController.phpWojo\Core\Viewrender
285/home/theplugi/public_html/library/Core/Router.phpcall_user_func
180/home/theplugi/public_html/library/Core/Router.phpWojo\Core\RouterhandleRequest
291/home/theplugi/public_html/index.phpWojo\Core\Routerrun