ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

2.1.5beta: Cannot access private property EE_Loader::$_ci_view_path

May 12, 2011 7:43am

Subscribe [10]
  • #1 / May 12, 2011 7:43am

    johndwells

    94 posts

    I’m kicking the tires of 2.1.5beta, and have countered the following fatal error:

    Fatal error: Cannot access private property EE_Loader::$_ci_view_path in /Users/john/Sites/nomadtanzania.local/ee_system/expressionengine/libraries/Cp.php on line 740

    This is being thrown by a few Third Party addons whenever they call:

    $EE->load_package_js('package_name');

    Note also that Cp::load_package_css() is making the same attempt to access the private property EE_Loader::$_ci_view_path.

    For good measure I did a global search and at a cursory glance, these files also attempt to access the property directly:

    system/expressionengine/controllers/cp/css.php
    system/expressionengine/libraries/Cp.php
    system/expressionengine/libraries/Filemanager.php

    (While I’m at it, these 3rd party addons also attempt to access it: Solspace’s Bridge, P&T’s Matrix).

    Cheers,
    John

  • #2 / May 12, 2011 7:59am

    Etheya

    213 posts

    Getting the same issues here too…

    Fatal error: Cannot access private property EE_Loader::$_ci_view_path in /Users/briancoult/Sites/sandbox-ee/manage/expressionengine/libraries/Cp.php on line 757

  • #3 / May 12, 2011 8:01am

    Sue Crocker

    26054 posts

    Thanks for the heads up guys.

    Etheya, which third party add-on are you having trouble with?

  • #4 / May 12, 2011 8:03am

    Etheya

    213 posts

    Not entirely sure… im getting this error when i just try and log into the CP….

  • #5 / May 12, 2011 8:05am

    Etheya

    213 posts

    Although im getting it on this bit of code..

    function load_package_css($file)
  • #6 / May 12, 2011 8:07am

    Etheya

    213 posts

    By the way, this was an update from 2.1.4beta.. not a fresh install..

  • #7 / May 12, 2011 8:28am

    Etheya

    213 posts

    Any update on this?

  • #8 / May 12, 2011 8:35am

    Etheya

    213 posts

    Removed all third_party add ons… and im back up… so now testing for which one caused the issue..

  • #9 / May 12, 2011 8:41am

    Etheya

    213 posts

    OKay get the error when using CP Analytics

    http://devot-ee.com/add-ons/cp-analytics/

    put this in the third_party folder and i get the error.. without its fine.

  • #10 / May 12, 2011 8:45am

    Etheya

    213 posts

    Also NSM Addon Updater is throwing the error too..

  • #11 / May 12, 2011 8:47am

    Etheya

    213 posts

    Thats the only 2 that i can find that are throwing errors… have checked through lots as this is just on my test sandbox..

  • #12 / May 12, 2011 10:09am

    Chris Chiles

    17 posts

    I ran into the same issue. It looks like it was caused by NSM Add-on Updater, because removing it fixed the problem.

  • #13 / May 12, 2011 10:12am

    Chris Chiles

    17 posts

    Actually, it looks like it’s any third-party add-on. If I go to the Structure or Freeform module page, I get the same error.

  • #14 / May 12, 2011 10:33am

    Etheya

    213 posts

    Yeah seems to be on lots of third_party add-ons so assuming its down to something that has changed in EE then… any further update at all Sue?

  • #15 / May 12, 2011 10:36am

    Cheif

    626 posts

    Not encouraging, one would like to think the 3rd party structure was fairly rigid. I’m sure EE will address in due course.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases