0
Welcome Guest! Login
0 items Join Now

Rok Errors starting to form

  • Rok Errors starting to form

    Posted 12 years 10 months ago
    • I am starting to have a bunch of errors caused by Rok for some odd reason, it looks to be with the roksprocket, rokcandy, rokexstender, Gantry, Rokweather. I do know my config.php permission keeps changing from 644 to 444 but that's joomla changing it so I heard.
      I can not set it to debug max for I get this error.
      Catchable fatal error: Object of class stdClass could not be converted to string in /home1/blockhug/public_html/plugins/system/debug/debug.php on line 303

      But in developement I get these errors
      Strict Standards: Declaration of JCacheControllerPage::store() should be compatible with that of JCacheController::store() in /home1/blockhug/public_html/libraries/joomla/cache/controller/page.php on line 199 Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokextender/rokextender.php on line 32 Strict Standards: Non-static method RokCandyHelper::getMacros() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/plugins/system/rokcandy/rokcandy.php on line 28 Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 13 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::getUserMacros() should not be called statically in /home1/blockhug/public_html/libraries/joomla/cache/controller/callback.php on line 159 Strict Standards: Only variables should be assigned by reference in /home1/blockhug/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 /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 18 Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 41 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::readIniFile() should not be called statically in /home1/blockhug/public_html/libraries/joomla/cache/controller/callback.php on line 159 Strict Standards: Non-static method RokCandyHelper::getCurrentTemplate() should not be called statically in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 53 Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokgallery/rokgallery.php on line 29
      php site log:
      /home1/blockhug/public_html/error_log: [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method GantryModulesRenderer::display() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 680 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 489 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be passed by reference in /home1/blockhug/public_html/libraries/gantry/core/renderers/gantrymodulesrenderer.class.php on line 81 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 489 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home1/blockhug/public_html/libraries/gantry/gantry.php on line 40 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method GantryModulesRenderer::display() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 680 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 489 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be passed by reference in /home1/blockhug/public_html/libraries/gantry/core/renderers/gantrymodulesrenderer.class.php on line 81 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 489 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method GantryLoader::import() should not be called statically in /home1/blockhug/public_html/libraries/gantry/gantry.php on line 40 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method GantrySessionParamOverride::store() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 456 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method GantryCookieParamOverride::store() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/libraries/gantry/core/gantry.class.php on line 457 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method GantryCookieParamOverride::_flushOldCookies() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/libraries/gantry/core/params/overrides/gantrycookieparamoverride.class.php on line 40 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/modules/mod_loginregister/helper.php on line 49 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokcandy/rokcandy.php on line 51 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getWeather() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/mod_rokweather.php on line 54 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getFTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 103 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getCTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 107 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getFTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 103 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getCTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 107 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getFTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 103 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getCTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 107 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getFTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 103 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Non-static method modRokWeatherHelper::getCTemp() should not be called statically in /home1/blockhug/public_html/modules/mod_rokweather/tmpl/default.php on line 107 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokcandy/rokcandy.php on line 51 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/components/com_roksprocket/lib/RokSprocket/Provider/Joomla/Filter.php on line 44 [06-Jul-2012 12:55:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokcandy/rokcandy.php on line 51
      Php Admin Log
      /home1/blockhug/public_html/administrator/error_log: [06-Jul-2012 12:37:32 UTC] PHP Notice: Constant ROKSPROCKET already defined in /home1/blockhug/public_html/plugins/system/roksprocket/roksprocket.php on line 82 [06-Jul-2012 12:37:32 UTC] PHP Notice: Constant ROKSPROCKET_VERSION already defined in /home1/blockhug/public_html/plugins/system/roksprocket/roksprocket.php on line 83 [06-Jul-2012 12:37:32 UTC] PHP Warning: constant(): Couldn't find constant JPATH_ in /home1/blockhug/public_html/libraries/joomla/installer/adapters/module.php on line 117 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Declaration of JCacheControllerPage::store() should be compatible with that of JCacheController::store() in /home1/blockhug/public_html/libraries/joomla/cache/controller/page.php on line 199 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokextender/rokextender.php on line 32 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Non-static method RokCandyHelper::getMacros() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/plugins/system/rokcandy/rokcandy.php on line 28 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 13 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::getUserMacros() should not be called statically in /home1/blockhug/public_html/libraries/joomla/cache/controller/callback.php on line 159 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 24 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Non-static method RokCandyHelper::getTemplateOverrides() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 18 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 41 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::readIniFile() should not be called statically in /home1/blockhug/public_html/libraries/joomla/cache/controller/callback.php on line 159 [06-Jul-2012 12:54:49 UTC] PHP Strict Standards: Non-static method RokCandyHelper::getCurrentTemplate() should not be called statically in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 53 [06-Jul-2012 12:54:50 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokgallery/rokgallery.php on line 29 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Declaration of JCacheControllerPage::store() should be compatible with that of JCacheController::store() in /home1/blockhug/public_html/libraries/joomla/cache/controller/page.php on line 199 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/plugins/system/rokextender/rokextender.php on line 32 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Non-static method RokCandyHelper::getMacros() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/plugins/system/rokcandy/rokcandy.php on line 28 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 13 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::getUserMacros() should not be called statically in /home1/blockhug/public_html/libraries/joomla/cache/controller/callback.php on line 159 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 24 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Non-static method RokCandyHelper::getTemplateOverrides() should not be called statically, assuming $this from incompatible context in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 18 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 41 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::readIniFile() should not be called statically in /home1/blockhug/public_html/libraries/joomla/cache/controller/callback.php on line 159 [06-Jul-2012 12:55:57 UTC] PHP Strict Standards: Non-static method RokCandyHelper::getCurrentTemplate() should not be called statically in /home1/blockhug/public_html/administrator/components/com_rokcandy/helpers/rokcandy.php on line 53

      Looking for some help to track down the root of the problem. I am sure it's something simple...
      Joomla! Version Joomla! 2.5.6 Stable
      Temp Ionosphere
      PHP Version 5.3.13
      Web Server Apache
      website https://www.blockhuggers.com
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Rok Errors starting to form

    Posted 12 years 10 months ago
    • Bamboo's Avatar
    • Bamboo
    • Jr. Rocketeer
    • Posts: 33
    • Thanks: 0

    Re: Rok Errors starting to form

    Posted 12 years 8 months ago
    • I'm getting the same Catchable fatal error when I turn on debug. I don't get any strict warnings. Not sure why it's happening, any suggestions on how to troubleshoot?

      Joomla 2.5.6
      PHP 5.3.5
      GZip & CDN Disabled
      Catchable fatal error: Object of class stdClass could not be converted to string in /plugins/system/debug/debug.php on line 303
    • watashi's Avatar
    • watashi
    • Jr. Rocketeer
    • Posts: 32
    • Thanks: 0

    Re: Rok Errors starting to form

    Posted 12 years 5 months ago
    • I am struggling from the same issue. When I rutn on Debug mode in joomla, the message comes out:

      Catchable fatal error: Object of class stdClass could not be converted to string in .../www/plugins/system/debug/debug.php on line 303
  • Re: Rok Errors starting to form

    Posted 12 years 4 months ago
    • Same error here with cerulean. Any suggestions?
  • Re: Rok Errors starting to form

    Posted 12 years 3 months ago
    • Hi guys,
      Catchable fatal error: Object of class stdClass could not be converted to string in /plugins/system/debug/debug.php on line 303
      This is a bug in Joomla core files. An object and is being passed to this block of code:
                  foreach ($session as $sKey => $entries)
                  {
                      $display = true;
       
                      if (is_array($entries) && $entries)
                      {
                          $display = false;
                      }
       
                      if (is_object($entries))
                      {
                          $o = JArrayHelper::fromObject($entries);
       
                          if ($o)
                          {
                              $entries = $o;
                              $display = false;
                          }
                      }
       
                      if (!$display)
                      {
                          $js = "toggleContainer('dbgContainer_session" . $id . "');";
       
                          $html .= '<div class="dbgHeader" onclick="' . $js . '"><a href="javascript&#058;void(0);"><h3>' . $sKey . '</h3></a></div>';
       
                          // @todo set with js.. ?
                          $style = ' style="display: none;"';
       
                          $html .= '<div ' . $style . ' class="dbgContainer" id="dbgContainer_session' . $id . '">';
                          $id ++;
       
                          // Recurse...
                          $this->displaySession($sKey, $entries, $id);
       
                          $html .= '</div>';
       
                          continue;
                      }
       
                      if (is_array($entries))
                      {
                          $entries = implode($entries);
                      }
       
                      $html .= '<code>';
                      $html .= $sKey . ' &rArr; ' . $entries . '<br />';
                      $html .= '</code>';
                  }

      As you can see it changes the object to an array $o, but then continues on and tries to output the object as a string: $html .= $sKey . ' &rArr; ' . $entries . '<br />';

      The logic is broken in plgSystemDebug::displaySession(),

      this:
      $html .= '<code>';
                               $html .= $sKey . ' &rArr; ' . $entries . '<br />';
                               $html .= '</code>';

      should be :
      if (is_string($entries))
                          {
                               $html .= '<code>';
                               $html .= $sKey . ' &rArr; ' . $entries . '<br />';
                               $html .= '</code>';
                          }

      Additionally the logic breaks with the use of AJAX() in plgSystemDebug::__destruct:
      // Capture output
              $contents = ob_get_contents();
              ob_end_clean();

      it should be:
      // Capture output
              $contents = ob_get_contents();
              if($contents) ob_end_clean();

      because you can't do a ob_end_clean() if nothing was captured.

      You are encouraged to report these issues to the Joomla development team.
    • Regards,
      Stephanie
    • Quag's Avatar
    • Quag
    • Jr. Rocketeer
    • Posts: 43
    • Thanks: 0

    Re: Rok Errors starting to form

    Posted 12 years 3 months ago
    • andrewm57's Avatar
    • andrewm57
    • Sr. Rocketeer
    • Posts: 189
    • Thanks: 1

    Re: Rok Errors starting to form

    Posted 12 years 1 month ago
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Rok Errors starting to form

    Posted 12 years 1 month ago
    • Stephanie is the best :cheesy:

Time to create page: 0.088 seconds