Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • ssinha Friend
    #204563

    If I turn on ‘Read More’ in the Menu/Options, I get the following message in the article pages: Notice: Undefined property: stdClass::$readmore in templatesja_teline_vhtmllayoutsjoomlacontent itemdefault.php on line 116.

    So I have to keep this feature off.

    Any suggestion? Thanks.

    Site is still on localhost. Running Joomla 3.3.6 and the latest Teline V template.

    jooservices Friend
    #562664

    Hi there
    # You can apply check variable before use it
    # Or just turn off display_errors.

    Thank you,
    Viet Vu

    ssinha Friend
    #562682

    Thanks Jooservices. Don’t know what is the first one but the second one gets rid of the message. Fine for now but is that the real solution? To turn off display_errors?

    jooservices Friend
    #562713

    Hi there
    In basic that’s not good way. Developer must check variable before use it.
    But somehow maybe it’s caused by 3rd extensions.
    If needed. Please PM me your FTP access i’ll help you to update that code.

    Thank you,
    Viet Vu

    ssinha Friend
    #562834

    I have only three third party extensions and I disabled all three of them but that did not change anything. The site is still on localhost so cannot provide you the access yet. Thanks.

    jooservices Friend
    #562894

    Hi there
    Which version of template you are using ?

    Thank you,
    Viet Vu

    ssinha Friend
    #562980

    Teline V version 1.0.2

    jooservices Friend
    #563116

    Hi there
    Please verify if your file be modified. I have checked with our v1.0.2 and at line 116 it’s blank line.
    But search and found this at line 124

    $item->readmore
    So please try to replace by

    isset($item->readmore)

    Thank you,
    Viet Vu

    ssinha Friend
    #563119

    You are right, I put the wrong line number. It was 124 and I changed it as per your advice and it worked like a charm. Thank you Jooservices.

    jooservices Friend
    #563131

    You are welcome

    Thank you,
    Viet Vu

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  jooservices 9 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum