BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Photo upload error
- This topic has 24 replies, 2 contibutors, and was last updated 10 years, 1 months ago by Alyssa.
Question
September 9, 2014 at 12:08 am #31413@
AnonymousHi guys get the following error
Warning: Illegal string offset ‘width’ in /home/jerseyp3/public_html/wp-content/themes/buddyboss/image.php on line 30
Warning: Illegal string offset ‘height’ in /home/jerseyp3/public_html/wp-content/themes/buddyboss/image.php on line 31
This is created by the following steps,
On activity page add photo, wait till 100% complete then get error message saying upload failed / error.
Then go to the media library where a greyed out box shows, with image name of file just uploaded.
When i click on view attachment page in media library i then shows the above message??
Answers
September 9, 2014 at 10:32 am #31431@alyssa-buddyboss
AlyssaParticipant@jerseypeeps can you email me the photo to [email protected]
September 9, 2014 at 2:01 pm #31442@
Anonymoushave sent an email with one of the photos attached.
September 11, 2014 at 2:23 am #31460@
AnonymousHave done as suggested have upped the max upload in php.ini and no difference, will try contacting Knownhost to see if the issue is their end.
September 11, 2014 at 9:18 am #31465@alyssa-buddyboss
AlyssaParticipant@jerseypeeps do you have any other photo editing plugins installed?
September 11, 2014 at 2:17 pm #31481@
AnonymousThe only other ones i have are bp gallery, i’m close to just giving up on this issue now, knownhost are going round in circles saying they can upload files, but they are uploading avatar sized images.
September 11, 2014 at 2:28 pm #31482@alyssa-buddyboss
AlyssaParticipant@jerseypeeps I do not believe BuddyBoss Media and bp gallery are compatible. They are probably both trying to set a different location for photos. This could be your issue.
September 11, 2014 at 2:39 pm #31484@
AnonymousOk have justs disabled and deleted plugin and still an error when uploading.
September 12, 2014 at 9:54 am #31492@
AnonymousWould seem it might be a wordpress issue?
September 12, 2014 at 9:57 am #31493@alyssa-buddyboss
AlyssaParticipant@jerseypeeps I just uploaded a photo on you site. Are you still having the issue?
September 12, 2014 at 10:01 am #31494@
AnonymousYes anything above a certain size and it fails each time, i may have to downgrade wordpress or the theme to fix this issue.
September 12, 2014 at 8:46 pm #31522@alyssa-buddyboss
AlyssaParticipant@jerseypeeps PHP has an inherent size of uploaded images. There is a large server load the larger the image. The typical size in 10M but that does not mean that is the limit as you would imaging but typically 10 million pixels in the image. You may need to contact your server host and see how large the load is and try to increase it if possible. You may also want to look into a photo cruncher that will resize/optimize the photo before upload to your site.
September 12, 2014 at 11:33 pm #31525@
AnonymousThanks for the info, im still edging towards a WordPress 4.0 issue as I have never had this issue before upgrading and max-cdn host any photos so far with no issues.
Users of the website used to upload very large photos to their activity with no problems.
I will contact knownhost and get them to check, otherwise i will try downgrading wordpress
September 13, 2014 at 12:52 am #31526@
AnonymousKnownhost reply ‘No helpful message is recording in the logs. Ask your developer if there there is anyway to enable debug logging for the site application’ i have tried every option now and am settling it as a wordpress 4.0 issue as many others are having the same issue, the item uploads but shows as greyed out in the media section.
This is very frustrating as no fix has been found yet ( not your fault ).
September 13, 2014 at 6:51 am #31535@alyssa-buddyboss
AlyssaParticipant@jerseypeeps roger that. Please let me know if I need to step in again.
- The question ‘Photo upload error’ is closed to new replies.