• [solved] getPage. Could not load class from mysql.modsnippet#

  • danykey Reply #1, 5 months ago

    Reply
    Hi everyone!

    I had install getPage 1.2.2 on the MODX 2.1.1-pl

    My code is simple:

    [[!getPage?
    &element=`getResources`
    &elementClass=`modSnippet`
    &parents=`[[*id]]`
    &showHidden=`true`
    &tpl=`EstateRowTpl`
    &cache=`false`
    ]]
    


    but I'am getting the empty result in html and error in log:
    [2011-12-21 20:45:47] (ERROR @ /index.php) Could not load class: modSnippet`
       from mysql.modsnippet`
    [2011-12-21 20:45:47] (ERROR @ /index.php) modSnippet`
      ::load() is not a valid static method.

    getResources is installed and works well.

    Please help, thanks.


  • danykey Reply #2, 5 months ago

    Reply
    Oh, I'am a bit of stupid man. )

    When I had copy an example code from site then copied some unprintable symbols between &param=`value`.