• Resolved liambatkins

    (@liambatkins)


    Hi there – I absolutely love this theme.

    I recently moved a site from one host to another, but on the same domain.

    It’s now however throwing up a host of strange errors.

    The homepage was slightly modified, but the errors it’s throwing up are beyond me.

    Fatal error: Call to undefined function generate_get_layout() in /home/themg/public_html/XXXXXX/wp-content/themes/generatepress/inc/extras.php on line 33

    Could anyone help, I would be so grateful!

    Liam

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author Tom

    (@edge22)

    Hi Liam,

    generate_get_layout() is a new function found in functions.php – has this file been modified? Did you update the theme completely?

    Let me know 🙂

    Thread Starter liambatkins

    (@liambatkins)

    Hi Tom,

    Thanks so much for making contact.

    Umm, I don’t *think* so. We had someone who helped to modify the homepage to add some further widgets and we can’t make contact with him.

    Can I copy n paste the functions code into this page to show you?

    Liam

    Theme Author Tom

    (@edge22)

    That may be messy.

    I would try re-updating the site.

    1. Download a fresh copy of GeneratePress from this site.
    2. Replace all files in “wp-content/themes/generatepress” via FTP with your newly downloaded version.

    Let me know how it goes.

    Thread Starter liambatkins

    (@liambatkins)

    Thanks Tom.

    Will I not lose any customisations made before hand if I did this?

    Liam

    Theme Author Tom

    (@edge22)

    Have you made any customizations to the core theme files?

    Any changes made using the theme options in the Dashboard won’t be touched by replacing the files.

    Theme Author Tom

    (@edge22)

    Were you able to get this fixed?

    Theme Author Tom

    (@edge22)

    Going to go ahead and mark this as resolved.

    Let me know if you’re still having troubles with it.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal error: Call to undefined function generate_get_layout()’ is closed to new replies.