• Resolved abbytws

    (@abbytws)


    Help!!! I updated WordPress and now whenever the theme is active, the frontend and backend break. Using a custom theme, so there are no updates to be made. Here are the error codes I get when the theme is active:

    Deprecated: Function create_function() is deprecated in /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-content/themes/dryflytheme/inc/custom.php on line 132

    Warning: Cannot modify header information – headers already sent by (output started at /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-content/themes/dryflytheme/inc/custom.php:132) in /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-includes/functions.php on line 6274

    Fatal error: Uncaught Error: Call to undefined function vc_remove_element() in /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-content/themes/dryflytheme/inc/map.php:545 Stack trace: #0 /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-includes/class-wp-hook.php(287): chiropractic_remove_default_shortcodes(”) #1 /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-admin/admin.php(175): do_action(‘admin_init’) #4 /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-admin/themes.php(10): require_once(‘/nfs/c02/h06/mn…’) #5 {main} thrown in /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-content/themes/dryflytheme/inc/map.php on line 545

    How do I fix this?!! I’m a designer, not a developer so I’m not sure how to fix.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You need to get in touch with the developer of your custom theme. Newer versions of PHP have changed the way “on the fly” functions are created and referenced.

    Thread Starter abbytws

    (@abbytws)

    @sterndata is there anything that I can do without the developer of the theme?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You’re going to have to recode that section (/nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-content/themes/dryflytheme/inc/custom.php on line 132) of your theme.

    This is what’s killing your site:
    Call to undefined function vc_remove_element() in /nfs/c02/h06/mnt/25567/domains/dryflydistilling.com/html/wp-content/themes/dryflytheme/inc/map.php:545 Soomething to do with Virtual Composer and how it’s integrated into your theme.

    If you need a developer for this, we recommend jobs.wordpress.net and suggest you not accept any offers presented in these forums.

    Thread Starter abbytws

    (@abbytws)

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme not working with WP update’ is closed to new replies.