Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Critical Error with thumbnail.php

Critical Error with thumbnail.php

Scheduled Pinned Locked Moved Bug Reports
5 Posts 3 Posters 64 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jannott
    wrote on last edited by
    #1

    Hello,
    I have an issue with one of my websites. After updating laytheme and all plugins to the most recent version a page that before worked perfectly fine is completely unaccessible and shows a critical error. I used only two thumbnails on it and they seem to be responsible for the error since after activating wp-debug the debug.log shows the following errors.

    Site: https://janine-boeckelmann.com/exhibitions/

    debug.log:

    [08-Nov-2021 17:26:39 UTC] PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php:208
    Stack trace:
    #0 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php(208): implode(Array, ',')
    #1 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/el.php(103): LayThumbnail->getMarkup()
    #2 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(570): LayEl->__construct(Array, false)
    #3 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(213): Lay_Layout::getRowColElMarkup(Array)
    #4 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(38): Lay_Layout::getLayout(229, 'page')
    #5 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/page.php(24): Lay_Layout::getLayoutInit()
    #6 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/6/f/...')
    #7 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-blog-header.php(19): require_once('/customers/6/f/...')
    #8 /customers/6/f/c/janine-boeckelmann.com/httpd.www/index.php(17): require('/customers/6/f/...')
    #9 {main}
      thrown in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php on line 208
    [08-Nov-2021 17:26:41 UTC] PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php:208
    Stack trace:
    #0 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php(208): implode(Array, ',')
    #1 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/el.php(103): LayThumbnail->getMarkup()
    #2 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(570): LayEl->__construct(Array, false)
    #3 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(213): Lay_Layout::getRowColElMarkup(Array)
    #4 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(38): Lay_Layout::getLayout(229, 'page')
    #5 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/page.php(24): Lay_Layout::getLayoutInit()
    #6 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/6/f/...')
    #7 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-blog-header.php(19): require_once('/customers/6/f/...')
    #8 /customers/6/f/c/janine-boeckelmann.com/httpd.www/index.php(17): require('/customers/6/f/...')
    #9 {main}
      thrown in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php on line 208
    [08-Nov-2021 17:26:41 UTC] PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php:208
    Stack trace:
    #0 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php(208): implode(Array, ',')
    #1 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/el.php(103): LayThumbnail->getMarkup()
    #2 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(570): LayEl->__construct(Array, false)
    #3 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(213): Lay_Layout::getRowColElMarkup(Array)
    #4 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(38): Lay_Layout::getLayout(229, 'page')
    #5 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/page.php(24): Lay_Layout::getLayoutInit()
    #6 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/6/f/...')
    #7 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-blog-header.php(19): require_once('/customers/6/f/...')
    #8 /customers/6/f/c/janine-boeckelmann.com/httpd.www/index.php(17): require('/customers/6/f/...')
    #9 {main}
      thrown in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php on line 208
    
    

    Hope you can help me with this issue.

    Bests Jannik

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by Richard
      #2

      Dear Jannik

      @jannott

      Please confirm the Following:

      Wordpress, Lay Theme & Laytheme's Addons are all up to date ?

      Any custom CSS or JS that may interfere is temporarily removed.

      Any third-party plugins are de-activated to see if this resolves the issue.

      If using a WordPress Cache plugin, disable it or clear your cache.

      License key not activated - (in website blank situations or button not available)

      If your WordPress Dashboard shows a warning "PHP Update required”
 Please update your PHP version in your webhost control panel.

      Possibly your website is running PHP 8.0 this has been known in some cases to cause issue.

      e it is not functioning.


      If the above is confirmed and you still experience issue:

      Please send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

      Armin can then have a better look πŸ”βœ…


      Best wishes Jannik & talk soon, have a wonderful day 🌝
      Richard
      1 Reply Last reply
      0
      • J Offline
        J Offline
        jannott
        wrote on last edited by
        #3

        Dear Richard,
        checked everything, but there's still the same issue. I wrote an E-Mail a few days ago, but didn't get an answer yet – Since it causes a critical error it would be great if it could get solved asap.

        Thanks
        Jannik

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear Jannik

          @jannott

          Could you please do a test with another Theme (wordpress default 2020 theme) and see if your Website still experiences this critical error? If so you will need to contact your Webhost.

          I will once again forward to Armin to be sure βœ…


          Best wishes Jannik 🌻
          Richard
          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            please update lay theme and this should be fixed πŸ˜…

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            πŸ’Ώ Email me here: πŸ’Ώ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options β†’ Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            M
            michael_vvc
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search