These forums are not for official support. If you are looking for official support please click here.

Welcome guest, please Login or Register

You are here: Home :: Forum Home :: Modules :: Tagger :: Thread

   

Tagger 2 Error: Unable to load the requested class: tagger_helper

Rank

Total Posts: 2

Joined 2010-07-19

PM

 

I upgraded to Tagger 2 and now whenever I go to set up a custom field I see this error:

Unable to load the requested class: tagger_helper 

I updated to the latest build of EE 2.1 which didn’t help. Then I completely uninstalled Tagger and deleted the files/db tables/db entries to start fresh, then reinstalled it… still no joy.

I see it’s trying to load->library(‘tagger_helper’) and the libraries/tagger_helper.php file is where it ought to be, so it appears like it should work but it just isn’t… not really sure why.

PHP 5.2.9

Rank

Total Posts: 2

Joined 2010-07-19

PM

 

Well, I fixed it… but I don’t see why this is necessary (EE bug? maybe the use of __construct() instead of function Tagger()?).

added the following to the constructor before the library is loaded:

$this->EE->load->add_package_path(PATH_THIRD 'tagger/'); 

Seems that EE should have already added the current third party add-on’s path to where the loader looks for libraries and such, but it works now and it didn’t before… *shrug*

Rank
Rank
Rank
Rank

Total Posts: 1237

Joined 2010-12-24

PM

 

It is indeed a uncommon EE bug.
Thanks for letting us know.

Added to the next build.

Rank

Total Posts: 3

Joined 2010-09-22

PM

 

Getting the same error, where does the above code reside ?

Rank

Total Posts: 3

Joined 2010-09-22

PM

 

/bump

Rank
Rank
Rank
Rank

Total Posts: 1237

Joined 2010-12-24

PM

 

Sorry for the late response.

Open up ft.tagger.php

After (line 37): parent::EE_Fieldtype();
Add: $this->EE->load->add_package_path(PATH_THIRD . ‘tagger/’);

That’s all :)

Let me know if it fixed your problem too.

Rank

Total Posts: 3

Joined 2010-09-22

PM

 

All good smile