• Resolved aldin30

    (@aldin30)


    I’m doing a website for a client, I developed it on a test site, everything looks and works fine, I installed WP Clone, made a backup file, installed the plugin on the clients site, restored the backup file and got this:

    Fatal error: Call to undefined function get_theme_support() in /home/avendano/xxxxxxx.com/wp-content/plugins/jetpack/modules/featured-content/featured-content.php on line 59

    I can’t even open the cPanel or wp-admin page, everything with https://www.xxxxxxx.com domain shows the same error message ??

    Please let me know what to do, I’m pretty desperate, I need this to work or I’ll lose this client

    best regards

    Aldin

Viewing 7 replies - 1 through 7 (of 7 total)
  • You’ll need to use FTP or Cpanel to access the files on the server and rename the plugin’s folder:

    wp-content
        plugins.HOLD

    If you can’t connect to the server, talk to your hosting company.

    Thread Starter aldin30

    (@aldin30)

    oh, ok thank you… I guess I’ll have to ask the client for the hosting and FTP details (was hoping I would be able to fix this without them knowing the site is broken ??

    Thread Starter aldin30

    (@aldin30)

    I got the FTP login and I opened the file from the error message

    I guess this is causing the problem:

    * Featured Content.
    *
    * This module will allow users to define a subset of posts
    * to be displayed in a theme-designated featured content area.
    *
    * This feature will only be activated for themes that declare
    * that they support it. This can be done by adding code similar
    * to the following during the “after_setup_theme” action:
    *
    * add_theme_support( ‘featured-content’, array(
    * ‘featured_content_filter’ => ‘mytheme_get_featured_content’,
    * ‘description’ => ‘Describe the featured content area.’,
    * ‘max_posts’ => 20,

    and this is the line 59 (if I counted right):

    $theme_support = get_theme_support( ‘featured-content’ );

    is this something anyone could help me with? please let me know asap, as it’s pretty urgent…

    I’d suggest deleting the JetPack folder and then try reinstalling it.

    Thread Starter aldin30

    (@aldin30)

    ok, I’ll try that, hopefully that will not mess this up even more

    thanx for your advice, I’ll post here the results

    Thread Starter aldin30

    (@aldin30)

    it worked ?? thanx a bunch yogi!!!

    Glad to hear that :). You’re welcome too.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘FATAL ERROR on a client site’ is closed to new replies.