Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.1.5, getImageMeta(), WP_DEBUG
- This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago by
Steven Zahm.
-
AuthorPosts
-
01/05/2015 at 5:02 pm #314074
Aaron Howard
ParticipantHi, I’m having problems displaying profile images on the site using the Genesis Framework. They don’t show up on the backend or frontend but they do get uploaded to the connections images folder.
Also, I looked for the piece of code you mentioned here https://wordpress.org/support/topic/photo-missing but couldn’t find it on the theme.
I attached a screenshot of the image output.
Any help with this would be greatly appreciated. Thanks.
Attachments:
You must be logged in to view attached files.01/06/2015 at 10:20 am #314110Steven Zahm
Keymaster@ Aaron
The forum thread you linked to would apply in this case.
Looking at the screenshot, the image URL is missing in the
srcset
. It also unlikely to do anything with the Genesis Framework.Look in the following folder:
../wp-content/uploads/connections-images/
In that folder there should be a folder for each entry which has an image. Within those folders, there should be images.
Can you check to see if they are there?
Also…
Go to the Connections : Settings admin page and click the Advanced tab. Enable the Debugging option. And then upload an image to an entry. Can you paste the result here?
01/06/2015 at 12:02 pm #314139Aaron Howard
ParticipantYes, there are folders for each entry in the ../wp-content/uploads/connections-images folder. There’s one image in each folder. I attached a screenshot.
I also turned on the debug option and uploaded an image to an entry but I didn’t see any debug messages.
Attachments:
You must be logged in to view attached files.01/07/2015 at 8:23 am #314161Steven Zahm
Keymaster@ Aaron
Ok, it seems the images are uploading properly, so it is not a permissions issue. It seems the images size variations are not being created. I wonder if this is related to a bug the (well, not really a bug) that affects a very small number of users. If the webhost has Imagick installed (which is good since it is more efficient) but an old version which does not have a function that is being used the images will not be created. This, however, always throws a PHP error.
You know I think WP_DEBUG also has to be enabled to see the image process log. I added it (and forgot) because users would enabled the debug and forget then would ask how they could disable the process log. Here’s a link that explains how to turn it on:
01/07/2015 at 9:36 am #314166Aaron Howard
ParticipantOh okay, I enabled wp_debug and this is the result:
Warning: Cannot use a scalar value as an array in html/wp-content/plugins/connections/includes/entry/class.entry-data.php on line 3452
01/07/2015 at 10:08 am #314167Steven Zahm
Keymaster@ Aaron
Hmmm… that error will only occur when there is no image processing library installed on the server. You should at the very least have GD installed its pretty much a standard to have it installed but I have run into a couple others users where their host did not have it installed. After it was, everything worked normally. Can you contact the host and verify that it is installed and ask them to install it if it is not.
01/08/2015 at 9:23 am #314347Aaron Howard
ParticipantYes, we didn’t have GD or Imagick installed on the server before. We got it installed now and the images are displaying now.
Thanks for the help!
01/08/2015 at 10:37 am #314388Steven Zahm
Keymaster@ Aaron
Good to hear … what I was not aware since I thought WP required either of those is if neither are installed, WP will just use the full sized image that was uploaded using CSS scaling to reduce the size. Pretty bad in my opinion, because that can chew up bandwidth and cause long page load times if users upload large images (unknowing what the effects would be). I understand why this is down and I’ll probably implement the same. Apologies for the trouble!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.