Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

previous and next images throwing fatal errors #71

Open
propertunist opened this issue Jan 29, 2013 · 1 comment
Open

previous and next images throwing fatal errors #71

propertunist opened this issue Jan 29, 2013 · 1 comment

Comments

@propertunist
Copy link

for many months i have seen white screen errors for some, not all, of the images on my site.
i just investigated and the errors relate to the searching for previous and next images.

Call to a member function getURL() on a non-object in /mod/tidypics/views/default/object/image/navigation.php

i haven't found the cause. i can stop the white screening by adding logic to the navigation page to check that the $previous_photo and $next_photo variables have been set before attempting to render the arrow icons in the page.. however, this means there are no arrows for some images.
any advice welcome here, i don't want to delete and reupload the images.

elgg 1.8 - 1.8.13
nginx
php 5.4
tidypics 1.8.0 rc1

@Herauf
Copy link

Herauf commented Jan 29, 2013

I have the same issue (or similar) My problem is caused by uploads failing due to pictures exceeding max_upload_size. The entity is created, but no picture uploaded. When displaying the next/prev arraws points to non existing entities.

I havn't found the correct fix for the problem. My work around is not to make the arrows links.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants