Проблема Ошибки Strict Standards: Only variables should be assigned by reference

Discussion in 'Ошибки при работе с Joomla' started by tiptopvkr, Mar 12, 2015.

  1. tiptopvkr
    Offline

    tiptopvkr Пользователь

    Joined:
    Jul 22, 2011
    Messages:
    157
    Likes Received:
    1
    Gender:
    Male
    Здравствуйте уважаемые специалисты по Joomla. На версии 2.5 после переноса на впс появились такие вот ошибки:
    Strict Standards: Only variables should be assigned by reference in /plugins/system/jsecure/jsecure.php on line 19
    Strict Standards: Only variables should be assigned by reference in /plugins/system/jsecure/jsecure.php on line 66
    Strict Standards: Only variables should be assigned by reference in /plugins/system/jsecure/jsecure.php on line 138
    Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /templates/chudo/index.php on line 6
    Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /includes/application.php on line 536

    В первой строке $lang =& JFactory::getLanguage();
    Во второй $app =& JFactory::getApplication();
    В третьей $document =& JFactory::getDocument();
    В четвертой $menu = JSite::getMenu();
    В пятой $menu = parent::getMenu('site', $options);

    Помогите пожалуйста разобраться в чем проблема
     
  2.  
  3. OlegK
    Offline

    OlegK Russian Joomla! Team Staff Member ⇒ Профи ⇐

    Joined:
    Jan 17, 2011
    Messages:
    7,812
    Likes Received:
    771
    Gender:
    Male

Share This Page

Loading...