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)                

Connection and installation on hosting

Date of creation : 2025-01-06
100
1 2 3 4 5
icon 368

When purchasing an online store, you need to host it on a server to ensure that the website runs smoothly and without interruptions, 24/7.
There are several installation options:


1. Hosting the website on your own server
After purchasing the online store, we will send you a ZIP archive with the website files and installation instructions. You can carry out the installation yourself or ask for help from a specialist with the necessary experience and knowledge.


2. Hosting the website on your server with the help of Solomono specialists
Transferring the website to your hosting depends on its complexity, configuration, and other factors. It usually takes between 2 to 10 hours (the rate is 1800 UAH/hour).


3. Hosting the website on Solomono servers with the help of Solomono specialists
Launching your online store on our hosting depends on the chosen configuration and usually takes between 2 to 5 hours (the rate is 1800 UAH/hour).
More details about the configurations and our hosting prices can be found here: https://solomono.net/hosting/p-391.html