SoloMono modules shop
count(): Parameter must be an array or an object that implements Countable (500 Whoops, looks like something went wrong.)

count(): Parameter must be an array or an object that implements Countable

Exception

ErrorException

  1.                         </div>
  2.                         <?
  3.                         array_shift($smallImages);
  4.                         ?>
  5.                         <?php
  6.                             if(count($smallImages) > 3) {
  7.                                 $smallImgCounter 1;
  8.                                 echo '<div class="marketplace_page__card_smallImages smallImages-slider  owl-carousel owl-theme owl-loaded owl-carousel owl-drag">';
  9.                                 foreach ($smallImages as $value) {
  10.                                     echo '<a data-fancybox="module_images" data-lightbox="image-1" href="getimage/' $value '">
  11.                                         <img class="lazyload marketplace__cart-ico marketplace__round-ico"
  1.         //ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
  2.         error_reporting(E_ALL);
  3.         set_error_handler(function($level$message$file ''$line 0) {
  4.             $this->handleError($level$message$file$line);
  5.         });
  6.         set_exception_handler(function($e) {
  7.             $this->handleException($e);
  8.         });
  1.                         </div>
  2.                         <?
  3.                         array_shift($smallImages);
  4.                         ?>
  5.                         <?php
  6.                             if(count($smallImages) > 3) {
  7.                                 $smallImgCounter 1;
  8.                                 echo '<div class="marketplace_page__card_smallImages smallImages-slider  owl-carousel owl-theme owl-loaded owl-carousel owl-drag">';
  9.                                 foreach ($smallImages as $value) {
  10.                                     echo '<a data-fancybox="module_images" data-lightbox="image-1" href="getimage/' $value '">
  11.                                         <img class="lazyload marketplace__cart-ico marketplace__round-ico"
require('/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php') in /home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php (line 502)
  1.     <?php if ($content == 'index_default'): ?>
  2.         <?php require(DIR_WS_TEMPLATES TEMPLATE_NAME '/mainpage_modules/slider_main.php'); ?>
  3.     <?php endif ?>
  4.     <?php if (isset($_GET['products_id']) && !productIsTemplate($_GET['products_id']))
  5.         require(DIR_WS_CONTENT 'product_info_new.php');
  6.     else
  7.         require(DIR_WS_CONTENT $content '.tpl.php');
  8.     ?>
  9.     <div class="hFooter"></div>
  10. </main>
require('/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php') in /home/solomono/web/hetzner.solomono.net/product_info.php (line 102)
  1.   }
  2.   $content CONTENT_PRODUCT_INFO;
  3. //  $javascript = 'product_info.js';
  4.    
  5.   require(DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);
  6.   
  7.   require(DIR_WS_INCLUDES 'application_bottom.php');
  8.   
  9.   

Stack Trace

ErrorException
ErrorException:
count(): Parameter must be an array or an object that implements Countable

  at /home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php:98
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/hetzner.solomono.net/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
     (/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php:98)
  at require('/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php')
     (/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php:502)
  at require('/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php')
     (/home/solomono/web/hetzner.solomono.net/product_info.php:102)                
Invalid argument supplied for foreach() (500 Whoops, looks like something went wrong.)

Invalid argument supplied for foreach()

Exception

ErrorException

  1.                                 }
  2.                                 echo '</div>';
  3.                             } else {
  4.                                 echo '<div class="marketplace_page__card_smallImages smallImages_without_slider">';
  5.                                 foreach ($smallImages as $value) {
  6.                                     echo '<a data-fancybox="module_images" data-lightbox="image-1" href="getimage/' $value '">
  7.                                         <img class="lazyload marketplace__cart-ico marketplace__round-ico"
  8.                                          data-id="' $item['products_id'] . '"
  9.                                          src="images/pixel_trans.png"
  10.                                          data-src="' "getimage/" $value '"
  1.         //ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
  2.         error_reporting(E_ALL);
  3.         set_error_handler(function($level$message$file ''$line 0) {
  4.             $this->handleError($level$message$file$line);
  5.         });
  6.         set_exception_handler(function($e) {
  7.             $this->handleException($e);
  8.         });
HandleExceptions->Bootstrap\{closure}() in /home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php (line 114)
  1.                                 }
  2.                                 echo '</div>';
  3.                             } else {
  4.                                 echo '<div class="marketplace_page__card_smallImages smallImages_without_slider">';
  5.                                 foreach ($smallImages as $value) {
  6.                                     echo '<a data-fancybox="module_images" data-lightbox="image-1" href="getimage/' $value '">
  7.                                         <img class="lazyload marketplace__cart-ico marketplace__round-ico"
  8.                                          data-id="' $item['products_id'] . '"
  9.                                          src="images/pixel_trans.png"
  10.                                          data-src="' "getimage/" $value '"
require('/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php') in /home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php (line 502)
  1.     <?php if ($content == 'index_default'): ?>
  2.         <?php require(DIR_WS_TEMPLATES TEMPLATE_NAME '/mainpage_modules/slider_main.php'); ?>
  3.     <?php endif ?>
  4.     <?php if (isset($_GET['products_id']) && !productIsTemplate($_GET['products_id']))
  5.         require(DIR_WS_CONTENT 'product_info_new.php');
  6.     else
  7.         require(DIR_WS_CONTENT $content '.tpl.php');
  8.     ?>
  9.     <div class="hFooter"></div>
  10. </main>
require('/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php') in /home/solomono/web/hetzner.solomono.net/product_info.php (line 102)
  1.   }
  2.   $content CONTENT_PRODUCT_INFO;
  3. //  $javascript = 'product_info.js';
  4.    
  5.   require(DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);
  6.   
  7.   require(DIR_WS_INCLUDES 'application_bottom.php');
  8.   
  9.   

Stack Trace

ErrorException
ErrorException:
Invalid argument supplied for foreach()

  at /home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php:114
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/hetzner.solomono.net/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
     (/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php:114)
  at require('/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php')
     (/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php:502)
  at require('/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php')
     (/home/solomono/web/hetzner.solomono.net/product_info.php:102)                

Unlimited info pages

Date of creation : 2018-09-20
95
1 2 3 4 5
icon 5,3k
Unlimited info pages
free, junior, seo, pro

In your online store, you can create as many pages as necessary to fully inform your customers. Place only useful information for users on each page.

An unlimited number of information pages will help expand the semantic core of the site, and therefore promote the site for various requests. You don't have to worry about loading speed - our servers and the osc SoloMono platform itself can withstand loading with large content and a large number of pages.

Unlimited info pages - 1

Each page can be designed in several languages, add meta tags, a picture. Pages can be created for sections of the site or blog. In the editor, you can add text, photos, videos, place any information. Search engines promote sites with more pages to higher positions in the SERP (Google Search Engine Result Page).

Unlimited info pages - 2