Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jojo12 Friend
    #196016

    When I click contact menu, then I get:

    Fatal error: Call to a member function getAuthorisedViewLevels() on a non-object in …/plugins/system/t3/base-bs3/html/com_contact/category/default_items.php on line 52

    I use 2.1.3

    with t3-blank there’s no problem.

    Ninja Lead Moderator
    #527885

    I have checked the problem you mentioned but I could not reproduce it. Please send me URL of your site, I will check further.

    neoloopy Friend
    #569692

    <em>@jojo12 417512 wrote:</em><blockquote>When I click contact menu, then I get:

    Fatal error: Call to a member function getAuthorisedViewLevels() on a non-object in …/plugins/system/t3/base-bs3/html/com_contact/category/default_items.php on line 52

    I use 2.1.3

    with t3-blank there’s no problem.</blockquote>

    I need your rapid help, please.

    Template => t3_bs3_blank v.2.1.7
    Plugin => T3 Framework v.2.4.8

    I created a link in the menu to a category of contacts and gives me the following error:

    Notice: Undefined property: ContactViewCategory::$user in /var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default_items.php on line 52 Call Stack: 0.0002 353576

    1. {main}() /var/www/nonoturismo/index.php:0 0.0967 8359168
    2. JSite->dispatch() /var/www/nonoturismo/index.php:42 0.1000 8422092
    3. JComponentHelper::renderComponent() /var/www/nonoturismo/includes/application.php:198 0.1036 8443744
    4. JComponentHelper::executeComponent() /var/www/nonoturismo/libraries/joomla/application/component/helper.php:357 0.1038 8489888
    5. require_once(‘/var/www/nonoturismo/components/com_contact/contact.php’) /var/www/nonoturismo/libraries/joomla/application/component/helper.php:388 0.1071 8824316
    6. JController->execute() /var/www/nonoturismo/components/com_contact/contact.php:16 0.1071 8824388
    7. ContactController->display() /var/www/nonoturismo/libraries/joomla/application/component/controller.php:754 0.1072 8826880
    8. JController->display() /var/www/nonoturismo/components/com_contact/controller.php:50 0.1132 9564636
    9. ContactViewCategory->display() /var/www/nonoturismo/libraries/joomla/application/component/controller.php:715 0.1320 10174348
    10. JView->display() /var/www/nonoturismo/components/com_contact/views/category/view.html.php:120 0.1320 10174348
    11. JView->loadTemplate() /var/www/nonoturismo/plugins/system/t3/includes/joomla25/view.php:205 0.1325 10236672
    12. include(‘/var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default.php’) /var/www/nonoturismo/plugins/system/t3/includes/joomla25/view.php:649 0.1445 10713968
    13. JView->loadTemplate() /var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default.php:36 0.1450 10813764
    14. include(‘/var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default_items.php’) /var/www/nonoturismo/plugins/system/t3/includes/joomla25/view.php:649

    Fatal error: Call to a member function getAuthorisedViewLevels() on a non-object in /var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default_items.php on line 52 Call Stack: 0.0002 353576

    1. {main}() /var/www/nonoturismo/index.php:0 0.0967 8359168
    2. JSite->dispatch() /var/www/nonoturismo/index.php:42 0.1000 8422092
    3. JComponentHelper::renderComponent() /var/www/nonoturismo/includes/application.php:198 0.1036 8443744
    4. JComponentHelper::executeComponent() /var/www/nonoturismo/libraries/joomla/application/component/helper.php:357 0.1038 8489888
    5. require_once(‘/var/www/nonoturismo/components/com_contact/contact.php’) /var/www/nonoturismo/libraries/joomla/application/component/helper.php:388 0.1071 8824316
    6. JController->execute() /var/www/nonoturismo/components/com_contact/contact.php:16 0.1071 8824388
    7. ContactController->display() /var/www/nonoturismo/libraries/joomla/application/component/controller.php:754 0.1072 8826880
    8. JController->display() /var/www/nonoturismo/components/com_contact/controller.php:50 0.1132 9564636
    9. ContactViewCategory->display() /var/www/nonoturismo/libraries/joomla/application/component/controller.php:715 0.1320 10174348
    10. JView->display() /var/www/nonoturismo/components/com_contact/views/category/view.html.php:120 0.1320 10174348
    11. JView->loadTemplate() /var/www/nonoturismo/plugins/system/t3/includes/joomla25/view.php:205 0.1325 10236672
    12. include(‘/var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default.php’) /var/www/nonoturismo/plugins/system/t3/includes/joomla25/view.php:649 0.1445 10713968
    13. JView->loadTemplate() /var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default.php:36 0.1450 10813764
    14. include(‘/var/www/nonoturismo/plugins/system/t3/base-bs3/html/com_contact/category/default_items.php’) /var/www/nonoturismo/plugins/system/t3/includes/joomla25/view.php:649

    Thanks

    neoloopy Friend
    #569693

    I fixed the bug.

    In file your_joomla/plugins/system/t3/base-bs3/html/com_contact/category/default_items.php

    Add the code in line 16:

    $this->user = JFactory::getUser();
    ?>

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

This topic contains 4 replies, has 3 voices, and was last updated by  neoloopy 9 years ago.

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