• Resolved faisalakram

    (@faisalakram)


    I’m facing this error when i activate my template:

    Fatal error: Call to undefined function custom_css() in /home/austral8/public_html/irelaxinn.com.au/wp-content/themes/sohohotel/header.php on line 39

    I checking at localhost and i don’t see any such error. There i see some warnings which i removed by using php code.

    I checked in functions.php file and i see that custom_css function is defined there. Please help? How to get rid of this thing.

    I’m working on my client’s site and i have to activate it ASAP

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s a theme error in the sohohotel theme header.php file.

    As that’s a commercial theme, you’ll need to ask the developer of the theme for help – these forums don’t support commercial products, sorry.

    https://codex.www.ads-software.com/Forum_Welcome#Commercial_Products

    Thread Starter faisalakram

    (@faisalakram)

    Thank you for your quick response.
    I have fixed the issue.
    Let me share.,
    There was a wrong code at the last line in functions.php

    <?php include(‘images/social.png’); ?>

    At local host this code was showing warning.
    And i disable the wornings by php code.
    BUT,
    At live server it was showing the error i mentioned above.

    So,
    Then i remove this code : <?php include(‘images/social.png’); ?>

    And it fixed. ??

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to undefined function custom_css() in /home/austral8/public_ht’ is closed to new replies.