Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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 1.3k Views 2 Watching
  • 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
    alexbrunoA
    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
      arminunruhA
      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
        alexbrunoA
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Online Users
        L
        lstark
        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