0
Welcome Guest! Login
0 items Join Now

Fatal error: gantrytemplate.class.php on line 359

  • Fatal error: gantrytemplate.class.php on line 359

    Posted 12 years 11 months ago
    • I'm using the Template Selector 1.7.1 module so a client can switch and see what his new & shiny Voxel 1.1 template will look like. It all works well on my local machine, but on the remote server it throws this error:
      Fatal error: Call to a member function get() on a non-object in /home/benif3/public_html/libraries/gantry/core/gantrytemplate.class.php on line 359
      Here's the full output of the Joomla Developer error reporting:

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/factory.php on line 22

      Strict Standards: Non-static method AcesefPlugin::onAfterInitialise() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/plugins/system/acesef/acesef.php on line 42

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 22

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 27

      Strict Standards: Declaration of JRouterAcesef::parse() should be compatible with that of JRouter::parse() in /home/benif3/public_html/administrator/components/com_acesef/library/router.php on line 747

      Strict Standards: Declaration of JRouterAcesef::build() should be compatible with that of JRouter::build() in /home/benif3/public_html/administrator/components/com_acesef/library/router.php on line 747

      Strict Standards: Declaration of JRouterAcesef::_createURI() should be compatible with that of JRouter::_createURI() in /home/benif3/public_html/administrator/components/com_acesef/library/router.php on line 747

      Strict Standards: Non-static method AcesefLanguage::multilangFix() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 36

      Strict Standards: Non-static method AcesefUtility::JoomFishInstalled() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 39

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 57

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 58

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/plugins/system/rokextender/rokextender.php on line 32

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/router.php on line 53

      Strict Standards: Non-static method AcesefURI::parseURI() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/router.php on line 111

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1138

      Strict Standards: Non-static method AcesefURI::determineLanguage() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1149

      Strict Standards: Non-static method AcesefUtility::JoomFishInstalled() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1613

      Strict Standards: Non-static method AcesefUtility::getMenu() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1151

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/utility.php on line 94

      Strict Standards: Non-static method AcesefURI::getDefaultMenuItem() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1158

      Strict Standards: Non-static method AcesefUtility::getMenu() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 372

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/utility.php on line 94

      Strict Standards: Non-static method AcesefCache::checkURL() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1170

      Strict Standards: Non-static method AceDatabase::loadObjectList() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/cache.php on line 138

      Strict Standards: Non-static method AceDatabase::showError() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/database.php on line 171

      Strict Standards: Non-static method AcesefCache::_checkURLbySEF() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/cache.php on line 142

      Strict Standards: Non-static method AcesefCache::_checkSefTrailingSlash() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/cache.php on line 242

      Strict Standards: Non-static method AcesefUtility::getParam() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1172

      Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile() in /home/benif3/public_html/libraries/joomla/html/parameter.php on line 512

      Strict Standards: Non-static method AcesefCache::checkMetadata() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/uri.php on line 1178

      Strict Standards: Non-static method AceDatabase::loadObjectList() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/cache.php on line 363

      Strict Standards: Non-static method AceDatabase::showError() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/database.php on line 171

      Strict Standards: Non-static method AcesefUtility::getMenu() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/router.php on line 122

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/utility.php on line 94

      Strict Standards: Non-static method AcesefLanguage::parseLang() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/router.php on line 166

      Strict Standards: Non-static method AcesefPlugin::onAfterRoute() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/plugins/system/acesef/acesef.php on line 54

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 81

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 84

      Strict Standards: Non-static method RokCandyHelper::getMacros() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/plugins/system/rokcandy/rokcandy.php on line 28

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 13

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 14

      Strict Standards: Non-static method RokCandyHelper::getUserMacros() cannot be called statically in /home/benif3/public_html/libraries/joomla/cache/controller/callback.php on line 159

      Strict Standards: Non-static method RokCandyHelper::getUserMacros() cannot be called statically in /home/benif3/public_html/libraries/joomla/cache/controller/callback.php on line 159

      Strict Standards: Non-static method RokCandyHelper::getUserMacros() cannot be called statically in /home/benif3/public_html/libraries/joomla/cache/controller/callback.php on line 159

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 24

      Strict Standards: Non-static method RokCandyHelper::getTemplateOverrides() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 18

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 41

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 42

      Strict Standards: Non-static method RokCandyHelper::readIniFile() cannot be called statically in /home/benif3/public_html/libraries/joomla/cache/controller/callback.php on line 159

      Strict Standards: Non-static method RokCandyHelper::readIniFile() cannot be called statically in /home/benif3/public_html/libraries/joomla/cache/controller/callback.php on line 159

      Strict Standards: Non-static method RokCandyHelper::readIniFile() cannot be called statically in /home/benif3/public_html/libraries/joomla/cache/controller/callback.php on line 159

      Strict Standards: Non-static method AcesefPlugin::onAfterDispatch() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/plugins/system/acesef/acesef.php on line 66

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 114

      Strict Standards: Non-static method AcesefMetadata::plugin() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 117

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 156

      Strict Standards: Non-static method AcesefUtility::replaceSpecialChars() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 161

      Strict Standards: Non-static method AcesefUtility::replaceSpecialChars() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 162

      Strict Standards: Non-static method AcesefUtility::replaceSpecialChars() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 163

      Strict Standards: Non-static method AcesefUtility::replaceSpecialChars() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 164

      Strict Standards: Non-static method AcesefUtility::replaceSpecialChars() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 165

      Strict Standards: Non-static method AcesefMetadata::_pluginTitle() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 196

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 268

      Strict Standards: Non-static method AcesefCache::getExtensionParams() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 273

      Strict Standards: Non-static method AcesefMetadata::_pluginDescKey() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 209

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 326

      Strict Standards: Non-static method AcesefMetadata::_pluginDescKey() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 219

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 326

      Strict Standards: Non-static method AcesefURI::_isHomePage() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 230

      Strict Standards: Non-static method AcesefCache::checkMetadata() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/metadata.php on line 231

      Strict Standards: Non-static method AcesefCache::getExtensionParams() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 131

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/administrator/components/com_acesef/library/plugin.php on line 134

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/plugins/system/acesefmetacontent/acesefmetacontent.php on line 115

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/plugins/system/rokbox/rokbox.php on line 51

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/gantry.php on line 421

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Declaration of LikeWhereClause::testRow() should be compatible with that of WhereClause::testRow() in /home/benif3/public_html/libraries/gantry/core/gantryflatfile.class.php on line 661

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/gantry.php on line 188

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/gantry.php on line 189

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/gantry.php on line 246

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/gantry.php on line 247

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/core/gantry.class.php on line 205

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/core/gantry.class.php on line 489

      Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/libraries/gantry/core/gantry.class.php on line 1085

      Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /home/benif3/public_html/includes/application.php on line 540

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/core/gantry.class.php on line 1085

      Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home/benif3/public_html/libraries/gantry/gantry.php on line 40

      Strict Standards: Declaration of GantryParamProcessorAlias::postLoad() should be compatible with that of GantryParamProcessor::postLoad() in /home/benif3/public_html/libraries/gantry/core/params/processors/alias.php on line 17

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/core/gantry.class.php on line 489

      Notice: Undefined property: stdClass::$id in /home/benif3/public_html/libraries/gantry/core/gantrytemplate.class.php on line 333

      Strict Standards: Only variables should be assigned by reference in /home/benif3/public_html/libraries/gantry/core/gantry.class.php on line 489

      Notice: Undefined property: stdClass::$id in /home/benif3/public_html/libraries/gantry/core/gantrytemplate.class.php on line 358

      Notice: Undefined index: in /home/benif3/public_html/libraries/gantry/core/gantrytemplate.class.php on line 527

      Notice: Trying to get property of non-object in /home/benif3/public_html/libraries/gantry/core/gantrytemplate.class.php on line 359

      Fatal error: Call to a member function get() on a non-object in /home/benif3/public_html/libraries/gantry/core/gantrytemplate.class.php on line 359


      Just upgraded the Roksprocket module to v1.5.3 (and the other recent Rok updates as well) but I don't know if this has something to do with it since the local site works fine. Here's some system info:
      Gantry version: 3.2.19
      PHP Built On Linux shu.lunarservers.com 2.6.18-338.12.1.el5.lve0.8.34PAE #1 SMP Tue Jun 7 17:41:19 EEST 2011 i686
      Database Version 5.1.62-cll
      Database Collation utf8_general_ci
      PHP Version 5.2.17
      Web Server Apache/1.3.42 (Unix) Resin/2.1.13 mod_fastcgi/2.4.6 Sun-ONE-ASP/4.0.2 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
      WebServer to PHP Interface cgi
      Joomla! Version Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT
      Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
      User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2


      The remote frontend site works OK if the templates are switched directly in the backend. Activating the Template Selector plugin produces the mentioned error. Disabling it makes the site load OK. The site is online but the Template Selector is only available while being logged in: please request user/pass via PM if necessary. Please, help asap.

      regards,
      Vicent
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Fatal error: gantrytemplate.class.php on line 359

    Posted 12 years 10 months ago

Time to create page: 0.056 seconds