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)                

Search landing pages

Date of creation : 2021-04-07
95
1 2 3 4 5
icon 3,0k
Search landing pages
seo, pro

Another way to place landing pages on your site is through search results. When a person searches for something on the site, he gets to the landing page, in which a special SEO text, an H1 heading, as well as a meta description and meta heading are preset.

This approach helps to accurately transfer the semantic core to your online store. Along with the landing pages of search, our platform also contains other mandatory SEO pages: category page, product page, manufacturer page, arbitrary articles, as well as landing pages of filter results.

You can fill in the search results in the admin panel in the section SEO - Search Results.

It is also possible on the main page of the site to automatically display links to all search results landing pages that are on the site.