0
Welcome Guest! Login
0 items Join Now

SOLVED - Trying to get property of non-object ERROR

    • Rui Durão's Avatar
    • Rui Durão
    • Hero Rocketeer
    • Posts: 251
    • Thanks: 2
    • Web Stylist

    SOLVED - Trying to get property of non-object ERROR

    Posted 11 years 8 months ago
    • Hi Guys,

      Recently, when I was changing some settings on the User Manager, I noticed the following error:
      Notice: Trying to get property of non-object in C:\xampp\htdocs\mysite\plugins\system\missioncontrol\missioncontrol.php on line 82

      I looked up into that line and it shows:
      $fallback_style = $mc_template->params->get('blackliststyle',$this->getTemplateByName('bluestork')->id);
                      if (!empty($blacklist))
                      {
                          if (in_array(strtolower($option), $blacklist) || in_array($extension, $blacklist))
                          {
                              $admin_style = $fallback_style;
                              JFactory::getUser()->setParam('mc_default_style', $default_style);
                          }
                      }

      Can you sort this out please?

      Thanks
    • Last Edit: 11 years 7 months ago by Rui Durão.
    • RocketTheme rocks the themes!
    • Rui Durão's Avatar
    • Rui Durão
    • Hero Rocketeer
    • Posts: 251
    • Thanks: 2
    • Web Stylist

    Re: SOLVED - Trying to get property of non-object ERROR

    Posted 11 years 8 months ago
    • And now, my JCE editor has gone nuts with the same error.
      When I click the "Edit/insert image" button, another new error comes up: :cry: :cry: :cry:
      SyntaxError: JSON.parse: unexpected character
    • RocketTheme rocks the themes!
    • Rui Durão's Avatar
    • Rui Durão
    • Hero Rocketeer
    • Posts: 251
    • Thanks: 2
    • Web Stylist

    Re: SOLVED - Trying to get property of non-object ERROR

    Posted 11 years 8 months ago
    • Well, I tried commenting line 82 and it seems like it worked!

      Nevertheless, I don't think that is a proper solution, so I won't mark the topic as solved!
    • RocketTheme rocks the themes!
  • Re: SOLVED - Trying to get property of non-object ERROR

    Posted 11 years 1 month ago
    • Having exact same problem.

      Downloaded MissionControl a week ago. Getting this error

      Notice: Trying to get property of non-object in C:\xampp\htdocs\plugins\system\missioncontrol\missioncontrol.php on line 82

      Haven't noticed any issues with functionality, but then i haven't gotten very far with modification of the site either.
    • www.onestopknoxville.com
  • Re: SOLVED - Trying to get property of non-object ERROR

    Posted 11 years 1 month ago
    • My guess is, like me, you deleted all the other templates including the bluestork admin template. After poking around in the missioncontrol.php I see that it relies on bluestork as a fallback admin template.

      Reinstalling bluestork made the error go away. Unfortunately my php-fu isn't strong enough to allow me to remove the code requiring it.
    • www.onestopknoxville.com

Time to create page: 0.058 seconds