We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4971
    • 964 Posts
    That happens to me too sometimes,
    I just logout of the manager and enter again
    and everything works OK.
      Website: www.mercologia.com
      MODX Revo Tutorials:  www.modxperience.com

      MODX Professional Partner
      • 21884
      • 57 Posts
      any chance of someone having an idea of a real fix?

      I’m willing to pay for time invested, and would give access to my live setup if necessary...
        • 27002
        • 32 Posts

        Quote from: splittingred at Aug 13, 2010, 08:16 AM

        - Server OS,
        - Server Version
        - PHP Version
        - MySQL Version (client and server),
        - your Browser type and version
        - Any opcode caching such as eAccelerator, xCache, winCache, APC, etc
        - Any logs in core/cache/logs/error.log
        - any other environment data we should know.



        the error in the log
        [2010-08-13 17:38:58] (ERROR @ /usr/local/home/httpd/docs/mdmcms/core/xpdo/xpdo.class.php : 1668) PHP warning: json_encode() [<a href=’function.json-encode’>function.json-encode</a>]: recursion detected
        [2010-08-16 14:28:13] (ERROR @ /usr/local/home/httpd/docs/mdmcms/core/components/tinymce/tinymce.class.php : 204) PHP warning: json_encode() expects exactly 1 parameter, 2 given

        Apache/1.3.42 (Unix) (Red-Hat/Linux) mod_ssl/2.8.31 OpenSSL/0.9.8n-fips FrontPage/4.0.4.3
        Mysql: 5.0.20a
        PHP 5.2.13

        Browser Firefox 368 /Safari 4
          • 28215
          • 4,149 Posts
          This seems to be a bug with PHP versions < 5.3.0; will issue a patch release later today to fix this.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 27002
            • 32 Posts
            Hi

            I would say that the update - has helped, and is less frequent but it still happens

            [2010-08-16 18:23:53] (ERROR @ /usr/local/home/httpd/docs/mdmcms/core/xpdo/xpdo.class.php : 1668) PHP warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected
              • 21884
              • 57 Posts
              in my case, php was at version 5.3.3, i saw an immediate improvement with the update but the problem still shows up off and on.

              internet explorer 8 seems to have less issues with it though, not 100% sure if it’s the browser or if it’s just that i get "lucky" when i try testing with it... (firefox/chrome/safari tend to work around 80% of the time now)
                • 27002
                • 32 Posts
                I have had crack with the site without TinyMCE enabled but I don’t no what I’m to do when I deliver to the client.

                May have to drop back to EVO
                  • 21884
                  • 57 Posts
                  any chance for another fix/patch/update?

                  again, if my live (but not launched so accessible) install can be of help in nailing the bug, i’d be happy to pass on access info to the modx devs.
                    • 28215
                    • 4,149 Posts
                    4.0.3-pl should fix most issues. Have you updated to that?
                      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                      • 21884
                      • 57 Posts
                      yes, as soon as it was released.

                      it seemed to work initially, but that was a fluke as I still get the error and the problem is still there.

                      happens in any browser and on any system, oddly enough IE8 seems to have the problem less but it’s still there.