Home › Toolset Professional Support › [Resolved] Error Message, when I use the messaging system
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
Related documentation:
I am trying to: Set up the Toolset Messaging System with "Module"
Link to a page where the issue can be seen: hidden link
I expected to see: No Error message
Instead, I got: Error message: "Aufruffunktionen sind do_shortcode, preg_replace_callback, do_shortcode_tag, OTGS\Toolset\Access\Controllers\Shortcodes::create_shortcode_toolset_access, OTGS\Toolset\Access\Controllers\Shortcodes::wpcf_access_do_shortcode_content"
Hi,
Thank you for contacting us and I'd be happy to assist.
I've performed some tests with similar shortcodes on my website, but couldn't reproduce this message. This suggests that it is something specific to your website.
To troubleshoot this, I'll suggest the following steps:
1. Please make sure that WordPress, active theme and plugins are all updated to their latest versions.
2. It would be a good idea to also test this with all non-Toolset plugins disabled and with a default theme like Twenty Twenty.
If that message is gone, you can start adding the disabled items, one-by-one, to narrow this down.
3. In case the message still shows, I'll need a clone/snapshot of your website so that it can be investigated in more depth:
https://toolset.com/faq/provide-supporters-copy-site/
Let me know how it goes and your next reply will be private.
regards,
Waqar
Hi Waqar,
many thanks for your answer. I followed your advice and as a result I found the bug.
May I ask a follow-up question?
What I try to achieve: I try to change the "Messages received" view. I try to display the received messages as "accordion" items and when you click on them, the "Related messages" view should be displayed.
I followed the advice here: https://toolset.com/forums/topic/split-displaying-terms-in-accordion-style-list-with-embedded-view/#post-956562
The code I use in the "Message Received" view:
[wpv-layout-start] [wpv-items-found] <div class="panel-group" id="accordion-message"> <!-- wpv-loop-start --> <wpv-loop> <div class="panel panel-default"> <div class="panel-heading" id="heading[wpv-post-id]"> <h4 class="panel-title"> <a role="button" data-toggle="collapse" data-parent="#accordion-message" href="#collapse[wpv-post-id]"> [wpv-post-title] </a> </h4> </div> <div id="collapse[wpv-post-id]" class="panel-collapse collapse"> <div class="panel-body"> [wpv-post-body view_template="single-message"] </div> </div> </div> </wpv-loop> <!-- wpv-loop-end --> </div> [/wpv-items-found] [wpv-no-items-found] <strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong> [/wpv-no-items-found] [wpv-layout-end]
What I get: The accordion item doesn't stay open, after I click on it. I get the transition from closed to open and after that it's immediately closed again.
Kind reagrds
Lara
Hi Lara,
Thanks for the update and glad that you managed to sort out that message.
As for the accordion, it seems that the active theme or some plugin is adding different classes to accordion items, which is why they're not showing, even when collapsed.
To overcome this, you can include some custom CSS code in your view, to override this:
.collapse.in { display: block !important; }
I hope this helps and you're welcome to open a new ticket for each new question or concern.
regards,
Waqar
My issue is resolved now. Thank you so much Waqar! The css code solved the problem.