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.5.32
- This topic has 12 replies, 2 voices, and was last updated 6 years ago by
Steven Zahm.
-
AuthorPosts
-
03/09/2017 at 1:57 pm #414991
Global Cultura
ParticipantHi,
I have purchased Circled template and, after save a page with this shortcode:
[connections template='circled' image_width='100'excerpt_length='20' name_format='%first% %last%']
I get a blank page.
Apache logs: PHP Fatal error: Class ‘cnSEO’ not found in …/wp-content/plugins/connections/includes/template/class.template-parts.php on line 369, referer: http://—-private—-/wp-admin/edit.php?post_type=page
With Market template, it was working perfectly. Now, i can’t edit the page to change template to market again.
Please, give me a solution urgently
03/09/2017 at 2:51 pm #415039Steven Zahm
Keymaster@ Global Cultura
Well simply changing template would not cause the error because they both function the same way and do not use cnSEO. That is loaded run long before the templates are.
I suspect you might however be running an old version of Connections. Are you up to date?
03/09/2017 at 2:53 pm #415040Steven Zahm
Keymaster@ Global Cultura
Oh, I should added, you should do the conflict checks.
Let me know what you learn.
03/09/2017 at 3:30 pm #415065Global Cultura
ParticipantHi, Steven
I have this code
[connections template="market" card_width=490 page_limit=20 pagination_position="after" show_alphaindex='FALSE' show_alphahead='FALSE' show_birthday='FALSE' show_anniversary='FALSE' show_dates='FALSE' show_im='TRUE' show_category_count='TRUE' image_width=120 image_height=120 tray_image_width=120 tray_image_height=120 name_format="%first% %middle% %last%" order_by="last_name|SORT_ASC" str_select="Todas las categorías" image_fallback="none" str_image="Logo no disponible" str_tray_image="Foto no disponible" str_map_show="Mostrar mapa" str_map_hide="Ocultar mapa" str_bio_head="Biografía" str_bio_show="Mostrar biografía" str_bio_hide="Ocultar biografía" str_note_head="Notas" str_note_show="Mostrar notas" str_note_hide="Ocultar notas" str_contact="Contacto" str_all_show="Mostrar ficha completa"]
It works perfectly.
I change to this:
[connections template="circled" image_width="100" excerpt_length="20" enable_category_select="TRUE" show_category_count="TRUE"]
And…Blank page at backend. At the frontend, page shows without problems (and with circled style).
My theme is Divi
I can’t change theme or disable plugins because is a multisite production.03/09/2017 at 3:33 pm #415066Global Cultura
ParticipantMy versions are updated,
Wordpress 4.7.3–es_ES
Connections Versión 8.5.32
Circled Versión 1.103/10/2017 at 12:00 pm #415133Steven Zahm
Keymaster@ Global Cultura
re: I can’t change theme or disable plugins because is a multisite production.
Well, that is unfortunate because it is almost definitely caused by another plugin running the WP shortcodes API in the admin which should not be done because the WordPress shortcode API was not designed to be used in the admin. The cnSEO is only loaded in the frontend which is why you see this error in the admin page. The shortcode needs access to cnSEO. The template in use would not affect when cnSEO is loaded.
I only see two paths forward…
- Temporarily deactivate Connections so you can edit your page.
- Give me a super admin login so I can make small hack to Connections on your site so cnSEO can be loaded in the admin. The login details can be posted here as a private reply.
03/10/2017 at 12:53 pm #415147Global Cultura
ParticipantHi, Steven
I have created one site to test. Incompatiblity is with Divi theme: https://www.elegantthemes.com/gallery/divi/
I really want to use circled template in my client’s site, but I MUST use this theme. So can you give me solution, please?
I can’t give you superadmin login but, i’m developer so, if you send me the hack, i’ll aply it.
Thank you,
03/10/2017 at 4:05 pm #415160Steven Zahm
Keymaster@ Global Cultura
Move the following line from out of the
else
statement.https://github.com/Connections-Business-Directory/Connections/blob/8.5.32/connections.php#L664
Moving it to line 667 should be fine.
Having the file load in the admin context should be fine since the filters it hooks into WordPress only runs on the site’s frontend (assuming Divi is not running frontend filters in the admin too).
What is a little confusing about this is that I’ve helped many others for other issues who were using Divi and not have encounter this before.
Hope that helps, let me know.
03/11/2017 at 6:24 am #415212Global Cultura
ParticipantThank you, Steven
It works fine now.
03/11/2017 at 3:52 pm #415241Global Cultura
ParticipantThis reply has been marked as private. -
AuthorPosts
You must be logged in to reply to this topic.