Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • wredny Friend
    #162264

    I can not disable the category, because there is an error on the home page:

    Fatal error: Call to a member function getChildren() on a non-object in …/public_html/modules/mod_janewspro/helpers/adapter/content.php on line 51

    In content.php, line 51 shows: $_categories = $_section->getChildren();

    When I enable the category page, main page works good

    any idea?

    I have J 1.6.0 and Ja Teline III for 1.6

    Sherlock Friend
    #384536

    Dear wredny,

    Open the file modulesmod_janewsprohelpersadaptercontent.php,look for this line of code
    [PHP] $_categories = $_section->getChildren();[/PHP]
    And change it to
    [PHP]
    if($_section) {
    $_categories = $_section->getChildren();
    }

    [/PHP]

    Hope that would help !

    wredny Friend
    #384617

    One more thing: these things show up when you add an image:
    http://img11.imageshack.us/i/errorsoa.jpg/

    To test this I installed the 1.5 version. There are no such errors

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

This topic contains 3 replies, has 2 voices, and was last updated by  wredny 13 years, 8 months ago.

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