Привет, у меня есть эта проблема, но я не выяснил, почему
Ошибка: вызов к неопределенной функции wachat () в /home/hexahos4/public_html/modules/addons/wachat/classs/wachatgateway.php:112
stack: prace: < * p> p>
p> psgre>
prace: < * p> prace: < * p> prace: prace:
prace: < * p> prace. /home/hexahos4/public_html/modules/addons/wachat/controller/whatsappconfig.php(70):wachatgateway::gatewaylist()образно WhatsAppConfig-> index ()
#2 /home/hexahos4/public_html/modules/addons/wachat/wachat.php(156):Require('/home/hexahos4/...') /home/hexahos4/public_html/lakonage/addonmodules.php(0): wachat_output (массив)
#4 {main}
93. public static function GatewayList()
94. {
95. if(!function_exists("moduleConfigFieldOutput")) {
96. require_once ROOTDIR . "/includes/modulefunctions.php";
97. }
98. if(is_dir(ROOTDIR . "/modules/addons/wachat/classes/")) {
99. $handle = opendir(ROOTDIR . "/modules/addons/wachat/gateways/");
100. $return_array = [];
101. while ($file = readdir($handle)) {
102. $file = str_replace(".php", "", $file);
103. if($file != "index") {
104. $modfilename = ROOTDIR . "/modules/addons/wachat/gateways/" . $file . ".php";
105. if(is_file($modfilename)) {
106. if(!function_exists("gateway_" . $file . "_send")) {
107. require $modfilename;
108. }
109. if(function_exists("gateway_" . $file . "_send")) {
110. $name = $file;
111. if(function_exists("gateway_" . $file . "_name")) {
112. $name = call_user_func("gateway_" . $file . "_name")();
113. }
114. $return_array[$file] = $name;
115. }
116. }
117. }
118. }
119. return $return_array;
120 }
121. }
gateway wachat.php
Подробнее здесь: https://stackoverflow.com/questions/796 ... -user-func
PHP вызов к неопределенной функции $ name = call_user_func ⇐ Php
Кемеровские программисты php общаются здесь
-
Anonymous
1746522441
Anonymous
Привет, у меня есть эта проблема, но я не выяснил, почему
Ошибка: вызов к неопределенной функции wachat () в [b] /home/hexahos4/public_html/modules/addons/wachat/classs/wachatgateway.php:112 [/b]
stack: prace: < * p> p>
p> psgre>
prace: < * p> prace: < * p> prace: prace:
prace: < * p> prace. /home/hexahos4/public_html/modules/addons/wachat/controller/whatsappconfig.php(70):wachatgateway::gatewaylist()образно WhatsAppConfig-> index ()
#2 /home/hexahos4/public_html/modules/addons/wachat/wachat.php(156):Require('/home/hexahos4/...') /home/hexahos4/public_html/lakonage/addonmodules.php(0): wachat_output (массив)
#4 {main}
93. public static function GatewayList()
94. {
95. if(!function_exists("moduleConfigFieldOutput")) {
96. require_once ROOTDIR . "/includes/modulefunctions.php";
97. }
98. if(is_dir(ROOTDIR . "/modules/addons/wachat/classes/")) {
99. $handle = opendir(ROOTDIR . "/modules/addons/wachat/gateways/");
100. $return_array = [];
101. while ($file = readdir($handle)) {
102. $file = str_replace(".php", "", $file);
103. if($file != "index") {
104. $modfilename = ROOTDIR . "/modules/addons/wachat/gateways/" . $file . ".php";
105. if(is_file($modfilename)) {
106. if(!function_exists("gateway_" . $file . "_send")) {
107. require $modfilename;
108. }
109. if(function_exists("gateway_" . $file . "_send")) {
110. $name = $file;
111. if(function_exists("gateway_" . $file . "_name")) {
112. $name = call_user_func("gateway_" . $file . "_name")();
113. }
114. $return_array[$file] = $name;
115. }
116. }
117. }
118. }
119. return $return_array;
120 }
121. }
gateway [b] wachat.php [/b]
Подробнее здесь: [url]https://stackoverflow.com/questions/79608320/php-call-to-undefined-function-name-call-user-func[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия