Hi there,
I updated an evolution site a few weeks ago, and everthing was fine. But I didn't test it so we find out now, that its not possible to make any changes to any document.
Im getting this error, but Im still not friend of php ;-)
« PHP Parse Error »
PHP error debug
Error : Illegal string offset 'template'
Warning: Illegal string offset 'template' in /www/htdocs/xxxxxxxx/assets/plugins/managermanager/mm.inc.php on line 78
ErrorType[num] : WARNING[2]
File : /www/htdocs/xxxxxxxx/assets/plugins/managermanager/mm.inc.php
Line : 78
Source : Plugin
Basic info
REQUEST_URI : http://www.xxxxxxxx.de/manager/index.php
Manager action : 5 - Saving resource
Current Plugin : ManagerManager(OnBeforeDocFormSave)
Referer : http://www.xxxxxxxx.de/manager/index.php?a=27&id=2
User Agent : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
IP : 37.247.84.241
Benchmarks
MySQL : 0.0010 s (8 Requests)
PHP : 0.0203 s
Total : 0.0213 s
Memory : 2.16660308838 mb
Backtrace
1 include_once()
manager/index.php on line 299
2 DocumentParser->invokeEvent()
manager/processors/save_content.processor.php on line 494
3 DocumentParser->evalPlugin()
manager/includes/document.parser.class.inc.php on line 3379
in line 78 of mm.inc.php I find:
75 // Set variables
76 global $content,$default_template, $mm_current_page, $mm_fields;
77 $mm_current_page = array();
78 $mm_current_page['template'] = isset($_POST['template']) ? $_POST['template'] : isset($content['template']) ? $content['template'] : $default_template;
79 $mm_current_page['role'] = $_SESSION['mgrRole'];
I do not even use the managermanager in this installation (as far as I know <->)
Can someone help me?