We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21893
    • 113 Posts
    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?
      Smile, it confuses people!
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      If you disable managermanager what happens?
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 21893
        • 113 Posts
        Well, I hate simple solutions smiley Reminds me allways that I once completely dismountet an microscope just to find out - after 2 Hours - the cleaning people removed the plug. <lol>

        Quote from: AMDbuilder at Jul 11, 2014, 03:29 AM
        If you disable managermanager what happens?

        So thanks a lot, but I still would like to know the reason, since another installation on a different hoster is still working.

        Nudibranch
          Smile, it confuses people!
          • 20413
          • 2,877 Posts
          1 year, 5 months ago:
          https://forums.modx.com/thread/80990/evo-php5-4?page=2#dis-post-453540

          Did you upgrade MM on this site?
            @hawproductions | http://mrhaw.com/

            Infograph: MODX Advanced Install in 7 steps:
            http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

            Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
            http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
            • 21893
            • 113 Posts
            Hi Mrhaw,
            I upgraded from Evo from 1.13 to 1.14. Included was an upgrade of MM to Version 0.61 - which I cant find in the Modx Extras (by the way)
            I have also another installation at the same hoster, - same environment - in which I use the MM.
            Even after the upgrade everythings fine there.

            ? Nudibranch ?
              Smile, it confuses people!
              • 1343 ☆ A M B ☆
              • 2,213 Posts
              I'm glad to hear disabling it resolved the problem temporarily. In regards to fixing the root problem could you tell us more about your hosting environment? Also how did you update - there could be a corrupt file causing the problem.
                Patrick | Server Wrangler
                About Me: Website | Tweets |  MODX Hosting
                • 20413
                • 2,877 Posts
                  @hawproductions | http://mrhaw.com/

                  Infograph: MODX Advanced Install in 7 steps:
                  http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                  Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                  http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower