We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26503
    • 620 Posts
    Having all kinds of issues updating 2.2.1 -> 2.2.2 blank screens mostly. in the apache log I get:

    
    [Mon Jun 04 21:34:56 2012] [error] [client 99.183.132.157] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/vhosts/oncologyeducation.com/httpdocs/core/components/polls/model/polls/polls.class.php on line 20
    
    // line 20 is:
    
    $basePath = $namespace->get('path');
    
    



    if I look into the modx logs:

    
    [2012-06-04 21:32:36] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modResource.properties' in 'field list'
    )
    
    [2012-06-04 21:32:36] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modResource.properties' in 'field list'
    )
    
    [2012-06-04 21:33:00] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modResource.properties' in 'field list'
    )
    
    [2012-06-04 21:33:00] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modResource.properties' in 'field list'
    )
    
    [2012-06-04 21:33:21] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modResource.properties' in 'field list'
    )
    
    [2012-06-04 21:33:21] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modResource.properties' in 'field list'
    )
    
    [2012-06-04 21:33:33] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modNamespace.assets_path' in 'field list'
    )
    
    [2012-06-04 21:33:46] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modNamespace.assets_path' in 'field list'
    )
    
    [2012-06-04 21:34:54] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modNamespace.assets_path' in 'field list'
    )
    
    [2012-06-04 21:34:56] (ERROR @ /index.php) Error 42S22 executing statement:
    Array
    (
        [0] => 42S22
        [1] => 1054
        [2] => Unknown column 'modNamespace.assets_path' in 'field list'
    )
    




    what in the heck is going on here & how do I fix it???



      *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

      Sean Kimball CLP, CLS.
      Technical Director / Sr. Developer | BigBlock Studios
      ._______________________________________________.
      Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
      27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
      phone/fax: 905-426-5525
      • 33968
      • 863 Posts
      I know this is what everyone suggests smiley But have you fully cleared out your cache folder, manually?
        • 22303 MODX Staff
        • 10,725 Posts
        The upgrade has not been performed successfully. Those errors indicate the database changes in 2.2.2 were not applied.
          • 18373 ☆ A M B ☆
          • 3,141 Posts
          You'll also need a new version of Polls for 2.2.2 due to subtle breaking change in 2.2.2 which Polls relied on (despite other methods being advised in the docs).
            Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

            Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
            • 26503
            • 620 Posts
            hmmm - so try to upgrade it again and then update polls...


            ok.
              *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

              Sean Kimball CLP, CLS.
              Technical Director / Sr. Developer | BigBlock Studios
              ._______________________________________________.
              Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
              27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
              phone/fax: 905-426-5525