Downloads icon indicating copy to clipboard operation
Downloads copied to clipboard

Fatal error after upgrade to 3.1.3

Open rgasch opened this issue 11 years ago • 6 comments

After upgrading from 3.0.0 (?) to 3.1.3 I get the following fatal error when attempting to view index.php?module=Downloads&type=user&func=view&lang=en&category=2

Before you ask, yes I am on core version 1.3.3.

Fatal error: Call to undefined method Downloads_Entity_Categories::get0() in /var/www/html/projects/BP/lib/Zikula/EntityAccess.php on line 45 Call Stack

Time Memory Function Location

1 0.0000 235240 {main}( ) ../index.php:0 2 0.1787 7003208 ModUtil::func( ) ../index.php:78 3 0.1787 7003336 ModUtil::exec( ) ../ModUtil.php:1161 4 0.1890 7090408 call_user_func ( ) ../ModUtil.php:1082 5 0.1890 7090440 Downloads_Controller_User->view( ) ../ModUtil.php:1082 6 0.3306 8206184 Zikula_View->fetch( ) ../User.php:95 7 0.3309 8208464 Zikula_View->_fetch( ) ../View.php:724 8 0.3319 8363104 include( '/var/www/html/projects/BP/ztemp/view_compiled/Downloads/user/view--t_BPMaster-l_en.php' ) ../View.php:2827 9 0.3526 8414184 Zikula_EntityAccess->offsetGet( ) ../View.php:49

rgasch avatar Sep 25 '12 07:09 rgasch

I cannot replicate this error. It works in my setup.

craigh avatar Oct 04 '12 02:10 craigh

OK, I just deleted all the Downloads module files and re-copied the new version of the module and the error persists.Lets see if upgrading to ZK 1.3.4 fixes it. If not, I'll be in touch ...

Greetings/Thanks R

On Thu, Oct 4, 2012 at 4:22 AM, Craig Heydenburg [email protected]:

I cannot replicate this error. It works in my setup.

— Reply to this email directly or view it on GitHubhttps://github.com/craigh/Downloads/issues/26#issuecomment-9128712.

rgasch avatar Oct 04 '12 20:10 rgasch

@rgasch anything happen with this?

craigh avatar Jan 06 '13 13:01 craigh

No, the error still persists; I've taken a look but I have no idea how to solve it. Can you help?

Greetings/Thanks R

On Sun, Jan 6, 2013 at 2:04 PM, Craig Heydenburg [email protected]:

@rgasch https://github.com/rgasch anything happen with this?

— Reply to this email directly or view it on GitHubhttps://github.com/craigh/Downloads/issues/26#issuecomment-11928085.

rgasch avatar Jan 06 '13 21:01 rgasch

It is difficult without being able to see it. Do you have a reproducible case? It sounds like the proxy class isn't being created like it should. Or not being used. Check ztemp/doctrinemodels/__CG__Downloads_Entity_Categories.php for existence.

you also might try upgrading to the current github pull as opposed to last release. At least on a test site.

craigh avatar Jan 06 '13 22:01 craigh

I will try your suggestion (hopefully this coming week), if that doesn't solve it, I'll create a downloadable reproducible case for you.

Greetings/Thanks Robert

On Sun, Jan 6, 2013 at 11:05 PM, Craig Heydenburg [email protected]:

It is difficult without being able to see it. Do you have a reproducible case? It sounds like the proxy class isn't being created like it should. Or not being used. Check ztemp/doctrinemodels/__CG__Downloads_Entity_Categories.php for existence.

you also might try upgrading to the current github pull as opposed to last release. At least on a test site.

— Reply to this email directly or view it on GitHubhttps://github.com/craigh/Downloads/issues/26#issuecomment-11935138.

rgasch avatar Jan 07 '13 00:01 rgasch