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.
- This topic has 2 replies, 2 voices, and was last updated 11 years, 2 months ago by
Steven Zahm.
-
AuthorPosts
-
06/15/2015 at 10:54 am #337475
Jeremy
GuestThis installation is not on the live site. I cloned the website on a development location FYI.
Anyways, I upgraded the plugin to the latest version 8.2.8 (from Version Version 0.7.9.3) and I am receiving the following error.Undefined variable: vCard in /var/www/path/to/files/wp-content/connections_templates/rdp/template.php on line 3 Fatal error: Call to a member function download() on a non-object in /var/www/path/to/files/wp-content/connections_templates/rdp/template.php on line 3I inherited this website, so I am not sure if this is a modification by a previous developer or not but, the ‘connection_images’ and ‘connections_templates’ folders are located in the ‘wp-content’ folder.
Uncommenting this line within the template.php file allows the plugin to run correctly except for the vCard.
The vCard class does not appear to be instantiated.
debug_backtrace reveals the template is being called from template.class.php
Sample of the code calling the class:
echo $vCard->download($atts = array( 'anchorText' => 'vCard'));Any help would be greatly appreciated.
Thank You
Jeremy
06/15/2015 at 11:05 am #337476Jeremy
GuestI forced the class to instantiate vCard just before the template as a test and this appears to work.
( this is of course a hack and is un desirable ).I will work my way back and see why it is not instantiating correctly and report what I find.
I doubt anyone else will need this help as the version this website was using was so old…but you never know.
Jeremy
06/15/2015 at 11:30 am #337478Steven Zahm
Keymaster@ Jeremy
That function was deprecated some time ago and remove a year or so afterward. You should use this in the template instead:
$entry->vcard( array( 'before' => '<span>', 'after' => '</span>' ) );Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
