如何解决Moxiemanager中的php上传错误?

时间:2019-01-10 12:59:18

标签: php tinymce-4 tinymce-plugins moxiemanager

版本 tinymce:4.9.2-118 moxiemanager:2.1.10-49 的PHP:5.6.39

我的情况:我想通过moxiemanager上传图片。我单击名为“上传”的按钮,从磁盘上选择一个图像,moxiemanager显示错误消息“错误:为foreach()提供了无效的参数”

如果我打开moximanager的调试代码,则会收到一条错误消息,并显示以下消息:

Stacktrace: /home/webs/www.myweb.eu/html/dir/admin/editor/tinymce/moxiemanager/classes/Commands/FileInfoCommand.php:26

/home/webs/www.myweb.eu/html/dir/admin/editor/tinymce/moxiemanager/classes/CommandCollection.php:39

/home/webs/www.myweb.eu/html/dir/admin/editor/tinymce/moxiemanager/classes/CorePlugin.php:69

/home/webs/www.myweb.eu/html/dir/admin/editor/tinymce/moxiemanager/classes/Handlers/JsonRpcHandler.php:74

/home/webs/www.myweb.eu/html/dir/admin/editor/tinymce/moxiemanager/classes /CorePlugin.php:82

/home/webs/www.myweb.eu/html/dir/admin/editor/tinymce/moxiemanager/api.php:19

有什么问题?在其他站点上,相同的代码也可以正常工作。

enter image description here

0 个答案:

没有答案