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. help: critical error on website after tweaking font size

help: critical error on website after tweaking font size

Scheduled Pinned Locked Moved Bug Reports
8 Posts 2 Posters 160 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.
  • A Offline
    A Offline
    alexandre
    wrote on last edited by
    #1

    Hey there,

    I've encountered a "critical error" on my website (allcitiesarebeautiful.com) after tweaking font sizes. The front end of the website is still intact and reachable but I can only log in to Wordpress using the recovery mode. When doing so, it says "One or more themes failed to load properly." Lay Theme is being reported as "broken" and if I try to resume the theme it remains paused because it is triggering a fatal error.

    WP provided me with an error code:

    WordPress version 6.3.1
    Active theme: Lay Theme (version 6.1.4)
    Current plugin: (version )
    PHP version 8.0.30

    Error Details

    An error of type E_ERROR was caused in line 231 of the file /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php:231
    Stack trace:
    #0 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(224): FormatsManager::format_of_name_in_array()
    #1 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(196): FormatsManager::maybeAddRequiredFormats()
    #2 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(52): FormatsManager::getDefaultFormatsJson()
    #3 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(838): FormatsManager::init()
    #4 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/functions.php(27): require('...')
    #5 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-settings.php(600): include('...')
    #6 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-config.php(77): require_once('...')
    #7 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-load.php(50): require_once('...')
    #8 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-admin/admin.php(34): require_once('...')
    #9 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-admin/index.php(10): require_once('...')
    #10 {main}
    thrown

    Thanks for any help in advance!

    Cheers

    A 1 Reply Last reply
    0
    • A alexandre

      Hey there,

      I've encountered a "critical error" on my website (allcitiesarebeautiful.com) after tweaking font sizes. The front end of the website is still intact and reachable but I can only log in to Wordpress using the recovery mode. When doing so, it says "One or more themes failed to load properly." Lay Theme is being reported as "broken" and if I try to resume the theme it remains paused because it is triggering a fatal error.

      WP provided me with an error code:

      WordPress version 6.3.1
      Active theme: Lay Theme (version 6.1.4)
      Current plugin: (version )
      PHP version 8.0.30

      Error Details

      An error of type E_ERROR was caused in line 231 of the file /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php:231
      Stack trace:
      #0 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(224): FormatsManager::format_of_name_in_array()
      #1 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(196): FormatsManager::maybeAddRequiredFormats()
      #2 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(52): FormatsManager::getDefaultFormatsJson()
      #3 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(838): FormatsManager::init()
      #4 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/functions.php(27): require('...')
      #5 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-settings.php(600): include('...')
      #6 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-config.php(77): require_once('...')
      #7 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-load.php(50): require_once('...')
      #8 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-admin/admin.php(34): require_once('...')
      #9 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-admin/index.php(10): require_once('...')
      #10 {main}
      thrown

      Thanks for any help in advance!

      Cheers

      A Offline
      A Offline
      alexandre
      wrote on last edited by
      #2

      @alexandre *update: after clearing the cache to see if the problem persists, the front end is not visible anymore..

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        i see mmh

        i will release an update later today that should fix the issue
        i will need to include a test to see if the variable that is trying to be accessed is an array

        if it doesnt fix the issue after you update today in an hour or two:

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

        A 1 Reply Last reply
        0
        • arminunruhA arminunruh

          i see mmh

          i will release an update later today that should fix the issue
          i will need to include a test to see if the variable that is trying to be accessed is an array

          if it doesnt fix the issue after you update today in an hour or two:

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

          A Offline
          A Offline
          alexandre
          wrote on last edited by alexandre
          #4

          @arminunruh Thanks a lot for the quick reply and the very quick update! So, unfortunately I can not update Lay Theme from within WordPress recovery mode. Would you mind sending me the theme files (v. 6.1.5) via email? I'll update everything manually via ftp (this wouldn't cause any issues, right?) This email is also the one I registered Lay Theme with.

          Thanks a lot for your help!

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            sure i sent it to you

            i hope that fixes it, if send an email to info@laytheme.com

            A 1 Reply Last reply
            0
            • arminunruhA arminunruh

              sure i sent it to you

              i hope that fixes it, if send an email to info@laytheme.com

              A Offline
              A Offline
              alexandre
              wrote on last edited by
              #6

              @arminunruh Thank you for providing the files. Updating didn't fix the issue tho. I also tried updaten Wordpress but that didn't work as well.

              The error still persists with following Error Code. I'm not sure if it's the same…

              WordPress version 6.3.1
              Active theme: Lay Theme (version 6.1.6)
              Current plugin: (version )
              PHP version 8.0.30

              Error Details

              An error of type E_ERROR was caused in line 225 of the file /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php. Error message: Uncaught TypeError: array_unshift(): Argument #1 ($array) must be of type array, null given in /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php:225
              Stack trace:
              #0 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(225): array_unshift()
              #1 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(196): FormatsManager::maybeAddRequiredFormats()
              #2 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(52): FormatsManager::getDefaultFormatsJson()
              #3 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/formatsmanager/formatsmanager.php(840): FormatsManager::init()
              #4 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-content/themes/lay/functions.php(27): require('...')
              #5 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-settings.php(600): include('...')
              #6 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-config.php(77): require_once('...')
              #7 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-load.php(50): require_once('...')
              #8 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-admin/admin.php(34): require_once('...')
              #9 /mnt/web307/d3/29/58646529/htdocs/WordPress_SecureMode_02/wp-admin/themes.php(10): require_once('...')
              #10 {main}
              thrown

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                hey this error indicates that the json of all of your textformats is missing
                i have never seen that error before

                can you send your webhost control panel login to info@laytheme.com

                i will probably need to add something to the database and then login to your /wp-admin/ to see why this error happened in the first place

                A 1 Reply Last reply
                0
                • arminunruhA arminunruh

                  hey this error indicates that the json of all of your textformats is missing
                  i have never seen that error before

                  can you send your webhost control panel login to info@laytheme.com

                  i will probably need to add something to the database and then login to your /wp-admin/ to see why this error happened in the first place

                  A Offline
                  A Offline
                  alexandre
                  wrote on last edited by
                  #8

                  @arminunruh I've just sent you the log in credentials. Unfortunately the Wordpress recovery mode log in link is only active for 24 hours. After that you'd need a new one. Thanks so much in advance for your time and help with this! It's much appreciated.

                  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
                  A
                  alasdair17
                  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