Hi @darkminersdk,
In this case, can you verify that no logs are being recorded to the WordPress debug log? If there are no error logs there, it might be necessary to find out from that plug-in’s support what it is trying to do or if there is a reserved word that it will block a short code from rendering when loading the page. (It’s possible that they can assist with tracing the flow of their plug-in here)
Let me know of any information you get from the logs and/or from the support for that other add-on.
Thread Starter
Shorcy
(@darkminersdk)
The only logs I can seem to get is:
Request:
account/submit-ticket
Query String:
pagename=account
Matched Rewrite Rule:
(.?.+?)/submit-ticket(/(.*))?/?$
Matched Rewrite Query:
pagename=account&submit-ticket=
The other add-on. Also say that all shortcodes should work. Because it just inserts it as a normal wordpress page would do it.
And it seems wird that it also did it when i tried pasting the shortcode on other pages when I didn’t have the plugins installed.
Is there any way that I can create a email ticket or something to you maybe can take a look.
-
This reply was modified 7 years, 3 months ago by
Shorcy.
-
This reply was modified 7 years, 3 months ago by
Shorcy.
Hi @darkminersdk,
About that error that you got, is there more details, or is it possible to get more verbose errors with your debug settings to show? The reason is that the “is_single” function is not called by Awesome Support. It appears that the other plug-in is calling ‘is_single’ incorrectly.
In this case, it looks like the other plug-in is doing something differently on the [ticket-submit] short-code; having them step through their code to debug this may be the quickest way to resolve it. Please let me know what you find from there.
Thread Starter
Shorcy
(@darkminersdk)
The error comes from WP_debug. But i fixed it and then it said: Request:
account/submit-ticket
Query String:
pagename=account
Matched Rewrite Rule:
(.?.+?)/submit-ticket(/(.*))?/?$
Matched Rewrite Query:
pagename=account&submit-ticket=
Thread Starter
Shorcy
(@darkminersdk)
The log error:
[06-Mar-2019 12:00:09 UTC] PHP Notice: is_single was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 4667
Hi @darkminersdk,
Thanks for the additional information. Based on those details (and how the other plug-in is calling ‘is_single’) more detailed troubleshooting is needed on their end to determine why it’s failing in this case. Having their support technician troubleshoot the flow is ideal here as they will know why their plug-in is throwing that error when enabled.
I’ll keep watch here for more details that you send through from the results of troubleshooting with the other plug-in.