We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15197
    • 65 Posts
    I found this error repeated many times in my error logs:

    (ERROR @ .../public_html/core/xpdo/xpdo.class.php : 1610) PHP warning: json_encode() [<a href=’function.json-encode’>function.json-encode</a>]: recursion detected

    I think it’s the same error discussed in this post: http://modxcms.com/forums/index.php?topic=48284.0

    I’m running MODx Revolution 2.0.0-rc-1.

    PHP Version 5.2.13

    core/cache is writable

    My system caching settings are all set to default values.

    Did anyone find the solution to this? I was wondering if is may be related to js problems I was having today, although this error wasn’t logged today - just the last time I logged in a few days ago and many times before that.

    Thanks.
      • 28215
      • 4,149 Posts
      First off, upgrade to RC-2. If the problems still occur:

      - What MySQL version are you running?
      - Are you running any opcode caching, or eAccelerator/xCache/APC?
      - Is this the traditional or advanced distribution?
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 15197
        • 65 Posts
        Thanks. I upgraded to RC-2 and got installation success msg. At first, the document tree was missing, but I got it to show up. I tried to repeat some of the common functions that may have been triggering the error before, and, so far, haven’t seen it in the logs. I did see this error several times from the upgrade process, though:

        (ERROR @ /setup/index.php) Could not install files from .../public_html/core/packages/core/xPDOFileVehicle/6236add07797340510d138abafa998ff/ to /home1/dariusc1/public_html/connectors/

        Should I be concerned about this?

        The Save button works better when editing a resource now, but it didn’t seem to help my Gallery issues. I’ll post separately about that.
          • 28215
          • 4,149 Posts
          Again:

          - What MySQL version are you running?
          - Are you running any opcode caching, or eAccelerator/xCache/APC?
          - Is this the traditional or advanced distribution?

          I’ll need this info before we can proceed.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 15197
            • 65 Posts
            - MySQL 5.1.47

            - No opcode caching or the programs you mentioned that I’m aware of.

            - traditional distribution

            Thanks!