• Hopefully the title says it all; updating Spacious while a child-theme based on it is active broke my site, since the child header contained of_get_option() calls where the latest version of Spacious seems to have replaced them with spacious_options()

    Manually going into the child’s header and search/replacing of_get_options with spacious_options fixed it for me.

    I’m not sure if this is fixable from your side, but I thought I’d share the info + fix regardless.

    —EDIT: it seems this was the case in 1.3.4 as well, I had skipped that particular version as it came out when I wasn’t at work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thanks for posting the fix kpolljonker, worked like a charm.

    Hi!

    When using the Medium blog Image, said file is used, so I got the following error:

    seria imaginilor inteligente

    Fatal error: Call to undefined function of_get_option() in […]/wp-content/themes/ChildSpacious/content-blog-image-medium.php on line 22

    Manually replacing of_get_options with spacious_options fixed it for me.

    Thank you kpolljonker!

    kpolljonker you are a star!!! I was nearly in a sweat when i updated a clients site and it went down! I nearly died! lol.

    This worked perfect!!! thanks so much! i would defo not had figured out that one myself!

    Thread Starter kpolljonker

    (@kpolljonker)

    I’m glad to hear people were helped, it’s why I posted in the first place ??

    THANK YOU!

    Thank you kpolljonker!!! Had the same problem, but now it’s finally solved so I could update again! ??

    For me I had to change some more files because the of_get_option() is in more files than only the header and I adjusted those files also in my childtheme. But now it all works like a charm!

    Ow… and for everyone who needs to know which files (adjustable by a childtheme) contain the of_get_option():

    content-blog-image-large.php
    content-blog-image-medium.php
    content.php
    header.php
    functions.php
    inc/header-functions.php (but this one won’t be supported by a childtheme I believe)

    kpolljonker you are a star!!! I was nearly in a sweat when i updated a clients site and it went down! I nearly died! lol.

    HA, I had the same situation last night. Thankfully I did it at 3 in the morning and quickly reverted back after having a mini stroke (thank you, UpdraftPlus!). I will definitely try this out (in the early hours) and hope it works.

    Thanks for the tips, everyone!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘1.3.4(.1) update breaks child theme header’ is closed to new replies.