Возникла проблема с компонентом магазин подарков
Рекомендованные сообщения
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу.
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Здравствуйте,вот такая вот ошибка при создании темы (хук оплаты за создание темы)
Возникла ошибка :
9 строка :
<?php class shop_t_pay { public function handleData( $data ) { if ( !ipsRegistry::isClassLoaded('shop') ) { $classToLoad = IPSLib::loadLibrary( IPSLib::getAppDir('shop') . '/sources/classes/shop.php', 'app_shop_classes_shop', 'shop' ); ipsRegistry::setClass( 'shop', new $classToLoad( $this->registry ) ); ////////это 9ая строка } return $this->registry->getClass('shop')->shop_t_pay_hook( $data ); } }39 строка :
public function __construct( ipsRegistry $registry )////Это 39 строка { /* Make objects */ $this->registry = $registry; $this->DB = $this->registry->DB(); $this->settings =& $this->registry->fetchSettings(); $this->request =& $this->registry->fetchRequest(); $this->lang = $this->registry->getClass('class_localization'); $this->member = $this->registry->member(); $this->memberData =& $this->registry->member()->fetchMemberData(); $this->cache = $this->registry->cache(); $this->caches =& $this->registry->cache()->fetchCaches(); if( IN_ACP ) { /* Load the language File */ $registry->class_localization->loadLanguageFile( array( 'admin_shop' ), 'shop' ); } else { /* Load the language File */ $registry->class_localization->loadLanguageFile( array( 'public_shop' ), 'shop' ); } }Буду очень благодарен если кто-то поможет.
Раздела с помощью не нашёл.