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)                

Customer page

Date of creation : 2018-09-20
98
1 2 3 4 5
icon 7,0k
Personal account for each client
free, junior, seo, pro

A personal account makes it possible to collect a large amount of data about customers - the frequency of purchases, the average bill, the demand for goods from regular customers, it also makes it possible to make the most relevant offers to increase the average bill, and collect reviews from customers.

Entering your personal account should not be difficult, so as not to force the buyer to come up with and remember passwords. Solomono has created an opportunity for the client to easily register or log in using: a Facebook account or a Google account, it is also possible to register according to the proposed form.

Customer page - 1

Customer page - 2

In your personal account you can

Customer page - 3

See all your orders:

Customer page - 4

View (change) personal data:

Customer page - 5

Edit shipping address or add a new one:

Customer page - 6

If necessary, change the password:

Customer page - 7