We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1914
    • 6 Posts
    Hello everyone,

    I have an urgent problem in my manager: Some documents (not all) won’t show a preview. I get this error-message:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: implode() [function.implode]: Invalid arguments passed  
      Error type/ Nr.: Warning - 2  
      File: MYPATH/manager/includes/document.parser.class.inc.php(766) : eval()'d code  
      Line: 103  
     
    Parser timing
      MySQL: 0.0029 s (6 Requests)
      PHP: 1.1657 s  
      Total: 1.1685 s  


    I have absolutely no clue where to look for the error. The document parser on line 766 says $snip= eval(Snippet). But the error-message doesn’t list the evaluated code. Any thoughts on this one?

    It seems to me, that this started, as soon as I implemented the TV for tags in Ditto.

    Any clues anyone?
      • 26903
      • 1,336 Posts
      The error is here :-
      File: MYPATH/manager/includes/document.parser.class.inc.php(766) : eval()’d code
      Line: 103

      Line 103 of whatever your evaluating,which is a snippet, maybe something to do with the TV for tags in Ditto?
        Use MODx, or the cat gets it!
        • 1914
        • 6 Posts
        Thank you for you replies! I did a bit more research, and tada:

        It is the "tagLinks"-snippet, which throws the error. Now I know where I’m at. Thank you smiley