• Resolved linkit

    (@linkit)


    Hi there, I am getting the following error:
    Fatal error: Call to undefined function: ls_getinfo() in /var/www/html/wp-content/themes/nubricks/single.php on line 19
    I understand that this means my display single post function isn’t working. Category and other single pages are working just not view single post function.

    I’ve checked my index.php which has the following code and the single.php file is in the theme, tried uploading it again.

    <?php if (is_single() ) { ?>

    <?php if (ls_getinfo(‘isref’)) { ?>

    No luck – any help suggestions please would be most appreciated. Many thanks linkit

Viewing 11 replies - 1 through 11 (of 11 total)
  • Is there a link to download that theme?

    Thread Starter linkit

    (@linkit)

    Hi Michael thank you for getting back to me the theme is a customised theme for my site – when you are asking if there’s a link to download it – are you wanting to see the problem? or want to use the theme for yourself?

    Just wanted to try and duplicate your problem.

    In the standard distribution of WordPress I find no reference to ls_getinfo.

    Thread Starter linkit

    (@linkit)

    ah ok – is that a coding error? should I give you a link to the site that it’s occurring on? I really appreciate your time Michael thankyou.

    Thread Starter linkit

    (@linkit)

    I’ve just checked some of the default template code and the ls_getinfo in that too

    Link to site not necessary if you’ve fixed the problem. Thanks.

    Thread Starter linkit

    (@linkit)

    I haven’t fixed the problem – I don’t know whether its a coding error or db error

    Not sure what this is

    <?php if (ls_getinfo('isref')) { ?>

    Who coded your theme?

    Thread Starter linkit

    (@linkit)

    we had a designer code it – it was actually working right up until yesterday when we took the db to put onto another site to test with.

    Sounds like you didn’t get everything when you copied it to the new site.

    Thread Starter linkit

    (@linkit)

    I found that it was some code from the landing sites plugin, that had been disabled.

    I have fixed it now…thanks for your help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘single.php error’ is closed to new replies.