PHPCMS v9 在php7.x下整合UC通信失败

PHPCMS v9 在php7.x下整合UC通信失败报错的代码如下:
Fatal error: Uncaught Error: Function name must be a string in xxxxxxxxx\phpcms\phpsso_server\api\uc.php on line 31

查找:
echo $uc_note->$get['action']($get, $post);

修改为:
echo call_user_func(array($uc_note, $get['action']), $get, $post);

该问题主要表现在Snow/phpcms的uc.php文件中存在此问题。

转载请注明出处:https://www.onexin.net/phpcms-v9-php7x-uc/

随机文章:

1、ECmall数据库关系模型的实现
https://www.onexin.net/ecmall-database-relational-model-to-achieve/

2、查看Linux服务进程
https://www.onexin.net/view-linux-process/

3、Magento用SQL语句开发篇
https://www.onexin.net/posts-with-the-sql-statement-magento-development/

4、Sphinx open-source SQL full-text search engine
https://www.onexin.net/sphinx-open-source-sql-full-text-search-engine/

5、WorkerMan高性能的PHP Socket 服务器框架的特性
https://www.onexin.net/workerman-php-socket/

Leave a Reply