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. Installation Problems
  3. (Fixed) update v1.036 broke simple-custom-post-order

(Fixed) update v1.036 broke simple-custom-post-order

Scheduled Pinned Locked Moved Installation Problems
3 Posts 2 Posters 960 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.
  • alexbrunoA Offline
    alexbrunoA Offline
    alexbruno
    wrote on last edited by
    #1

    Updated Lay Theme (along with the default themes) today, and after the update finished, my wordpress install appeared to be broken. Whenever I tried to access the backend or any URL, I got this error:

    Parse error: syntax error, unexpected '[' in /home/redacted/public_html/2015A/wp-content/themes/lay/assets/inc/simple-custom-post-order/simple-custom-post-order.php on line 145

    I tried looking for an extra '[' in the simple-custom-post-order.php file but couldn't find it.

    I had FTP access so I found the simple-custom-post-order on wordpress.org and re-installed manually. This fixed the issue!

    Just posting for posterity!

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

      Hey! Thanks for pointing that out! Hm yeah when I look at this line of code I see I made a little mistake there. The way I did it, it won't work with older php versions.
      Yeah I included the simple custom post order plugin, but I customized it a bit :D
      Ok, I just released 1.037 which should fix the bug. Can you let me know if that version works for you (With the extra simple custom post order plugin deinstalled)?

      1 Reply Last reply
      1
      • alexbrunoA Offline
        alexbrunoA Offline
        alexbruno
        wrote on last edited by
        #3

        Sorry for taking so long to reply —

        the fix worked wonderfully!

        Thanks so much for addressing this!

        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
        V
        vonMatthias
        R
        ruwie
        arminunruhA
        arminunruh
        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