We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4000
    • 2 Posts
    Web Server:
    ----------------
    PHP Version 4.2.3
    MySQL version 3.23.52
    Operating System and version: Windows XP

    Browser/Client:
    -----------------
    Browser name and version: Mozilla Firefox 1.5; IE 6; Opera 8.5
    Operating System and version: Windows XP

    After a new install of MODx I am getting this error:

    Notice: Array to string conversion in c:\ibserver\www\modx\manager\includes\document.parser.class.inc.php on line 928.

    The page displays despite the error.

    Does anyone have an idea what’s wrong?
      • 4000
      • 2 Posts
      * bump *
        • 18397
        • 3,250 Posts
        Wish I could help but I’m no server admin (just a snippets guru wink). How is MODx being hosted? Locally, shared, dedicated?
          • 25663 MODX Staff
          • 12,272 Posts
          Are you runningn IIS or Apache?
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 10153
            • 138 Posts
            he is probably running apache as I am having the same error on a new host smiley
            /web/Xa/Xs/Xt/nameofthesite.fr/public/www/content/manager/includes/document.parser.class.inc.php on line 928

              Be not deceived: evil communications corrupt good manners.
              I Corinthians (ch. XV, v. 33)
              • 10153
              • 138 Posts
              set_error_handler(array(&$this,"phpError"));

              Is this line 928 huh
                Be not deceived: evil communications corrupt good manners.
                I Corinthians (ch. XV, v. 33)
                • 10153
                • 138 Posts
                Bump
                (anyone could help us ?)
                  Be not deceived: evil communications corrupt good manners.
                  I Corinthians (ch. XV, v. 33)
                  • 10153
                  • 138 Posts
                  Thanks I think I got your point  :’(
                    Be not deceived: evil communications corrupt good manners.
                    I Corinthians (ch. XV, v. 33)
                    • 34162
                    • 1 Posts
                    I don’t have the exact environment to try this out but I want to offer something to test:

                    Replace line 925-828 with this code below and let see what will happen:

                    if (version_compare( phpversion(), "5.0.0", ">=" ))
                    set_error_handler(array(&$this,"phpError"), E_ALL);
                    else if (version_compare( phpversion(), "4.2.3", ">" ))
                    set_error_handler(array(&$this,"phpError"));
                    else
                    set_error_handler(array($this,"phpError"));

                    Thanks
                      • 10153
                      • 138 Posts
                      Thanks !

                      Notice: Array to string conversion in /web/Xa/Xs/Xt/nameofthesite.fr/public/www/content/manager/includes/document.parser.class.inc.php on line 930


                      :’(
                        Be not deceived: evil communications corrupt good manners.
                        I Corinthians (ch. XV, v. 33)