Zoo Visitor
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Discontinued
Unable to load the requested class: zoo_visitor_lib
General
Fabian Socarras
|
Posted: 29 April 2015 03:50 PM |
|
|
|
Hi,
I upgraded Zoo Visitor today, and now I get this error “Unable to load the requested class: zoo_visitor_lib” whenever I try to create a new custom field. I’m still running EE 2.9.2.
Any ideas?
Thanks,
Fabian
|
|
|
Matthew Kirkpatrick
|
Posted: 29 April 2015 09:30 PM |
# 1
|
|
|
Same deal here. EE 2.9.3
|
|
|
Matthew Kirkpatrick
|
Posted: 29 April 2015 09:47 PM |
# 2
|
|
|
Fabian,
Quick fix with seemingly no ill effects:
FILE:
/system/expressionengine/third_party/zoo_visitor/ft.zoo_visitor.php
LINE:
31) $this->EE->load->library(‘zoo_visitor_lib’);
ACTION:
Comment line 31 out.
RESULTS:
So far, it has restored complete access to the fields in the channel field manager. Does not seem to have a negative effect.
|
|
|
ExpressionEngine Zoo
|
Posted: 30 April 2015 03:06 AM |
# 3
|
|
|
Hi, I just tested in EE2.9.2 and cannot reproduce that error. In those version, the loading of the lib is indeed redundant and will have no effect when you comment it
|
|
|
Matthew Kirkpatrick
|
Posted: 30 April 2015 09:34 AM |
# 4
|
|
|
EEZoo,
Excellent.
Would you mind pushing a new version for download?
|
|
|
ExpressionEngine Zoo
|
Posted: 30 April 2015 10:10 AM |
# 5
|
|
|
I would like to be able to reproduce it myself first before including it in bugfix release. I tested in both versions and didn’t get the same result. Also, removing that line could conflict the backwards compatibility
|
|
|
sm9
|
Posted: 30 April 2015 01:18 PM |
# 6
|
|
|
I’m seeing this issue in EE 2.9.3 and Zoo Visitor 1.3.34 when I try to visit a custom field settings page.
|
|
|
Fabian Socarras
|
Posted: 02 May 2015 01:50 PM |
# 7
|
|
|
If I’m not upgrading to EE 2.10 anytime soon, is there any value to updating Zoo Visitor right now?
|
|
|
ExpressionEngine Zoo
|
Posted: 04 May 2015 02:44 AM |
# 8
|
|
|
No, It’s merely a compatibility release. I also just released a version with a fix for the “unable to load requested class” issue.
|
|
|
Matt Stein
|
Posted: 07 May 2015 05:39 PM |
# 9
|
|
|
Also spent some time troubleshooting this issue with EE 2.7.2, just upgraded Zoo Visitor from 1.3.32 to 1.3.34. Uncommenting (bringing back) `$this->EE->load->add_package_path(PATH_THIRD . ‘zoo_visitor/’);`, line 30 of ft.zoo_visitor.php fixed the problem.
For the record, I could duplicate the problem on two different servers: locally with MAMP Pro and PHP 5.6.7, and in staging (Ubuntu 14.04 + PHP 5.5.9).
|
|
|