Jump to content
Lafko

Ошибка при попытке отредактировать группу

Recommended Posts

TypeError: Argument 1 passed to IPS\downloads\extensions\core\ContentRouter\_Downloads::__construct() must be an instance of IPS\Member or null, instance of IPS\Member\Group given, called in /home/j/j25940kk/ipb/public_html/system/Application/Application.php on line 824 (0)
#0 /home/j/j25940kk/ipb/public_html/system/Application/Application.php(824): IPS\downloads\extensions\core\ContentRouter\_Downloads->__construct(Object(IPS\Member\Group))
#1 /home/j/j25940kk/ipb/public_html/system/Application/Application.php(300): IPS\_Application->extensions('core', 'ContentRouter', true, Object(IPS\Member\Group))
#2 /home/j/j25940kk/ipb/public_html/applications/core/extensions/core/GroupForm/Content.php(36): IPS\_Application::allExtensions('core', 'ContentRouter', Object(IPS\Member\Group))
#3 /home/j/j25940kk/ipb/public_html/applications/core/modules/admin/members/groups.php(202): IPS\core\extensions\core\GroupForm\_Content->process(Object(IPS\Helpers\Form), Object(IPS\Member\Group))
#4 /home/j/j25940kk/ipb/public_html/system/Dispatcher/Controller.php(85): IPS\core\modules\admin\members\_groups->form()
#5 /home/j/j25940kk/ipb/public_html/applications/core/modules/admin/members/groups.php(34): IPS\Dispatcher\_Controller->execute()
#6 /home/j/j25940kk/ipb/public_html/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\admin\members\_groups->execute()
#7 /home/j/j25940kk/ipb/public_html/sdgnjksdglJHfsdl/index.php(14): IPS\_Dispatcher->run()
#8 {main}

 

Share this post


Link to post
Share on other sites

Не знаю даже, попробуй очистить кэш,  написано что одного аргумента неправильный в этой контрукции

Argument 1 passed to IPS\downloads\extensions\core\ContentRouter\_Downloads::__construct() must be an instance of IPS\Member or null, instance of IPS\Member\Group given, called in /home/j/j25940kk/ipb/public_html/system/Application/Application.php on line 824 (0)

а почему нельзя сообщения редактировать, очень странно. конструкции* 

Share this post


Link to post
Share on other sites
Только что, Respected сказал:

Я так понимаю после обновления? С какой на какую версию?

Возможно, сейчас последняя версия, обновляюсь каждый раз

Share this post


Link to post
Share on other sites

Баг движка. Для временного исправления отредактировать файл:

applications/downloads/extensions/core/ContentRouter/downloads.php

Найти:

public function __construct( \IPS\Member $member = NULL )

Заменить на:

public function __construct( $member = NULL )

 

Share this post


Link to post
Share on other sites
2 минуты назад, Respected сказал:

Баг движка. Для временного исправления отредактировать файл:

applications/downloads/extensions/core/ContentRouter/downloads.php

Найти:

public function __construct( \IPS\Member $member = NULL )

Заменить на:

public function __construct( $member = NULL )

 

Помогло, санке

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×