Skip Navigation

[Resolved] Questions marks appearing and wrong taxonomy content displaying and pagination

This support ticket is created 3 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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: Africa/Casablanca (GMT+01:00)

This topic contains 21 replies, has 2 voices.

Last updated by Narindo 3 years, 6 months ago.

Assisted by: Jamal.

Author
Posts
#2220011
Screenshot 2021-11-13 at 00.09.05.png
Screenshot 2021-11-13 at 14.28.25.png
Screenshot 2021-11-13 at 14.27.02.png
Screenshot 2021-11-13 at 00.09.11.png

Tell us what you are trying to do?
Creating a VIEW with a query into a custom post

Is there any documentation that you are following?
Yes. output is not as expected

Is there a similar example that we can see? (see screenshots)
1) Currently there are question marks on the site (see screenshot). Sometimes the 'first page' (pagination) is ok, but page 5 or so not (the player doesn't work or the taxonomy field has questions marks). Also on the edit screen it sometimes shows it correctly and sometimes not. I have followed the advise of 'redoing' the fields by removing and re-adding it, it works for a while and stops.
2) Sometimes when the ? appears, the other results take-over the results of the first item, which makes all the taxonomy results the same. Not sure if that is related to problem at point 1.
3) Pagination issue. If I use pagination all the pages showing, at the backend it shrinks down the pagination using ..., but at the frontend I get a full long list of pages

What is the link to your site?
hidden link

#2220617

Hello and thank you for contacting the Toolset support.

I am sorry, but I do not understand these issues very well. Especially because I can't see any of them on the provided page.

Can you share a URL where we can see these issues? Or tell the steps to follow to see them? Are these errors available on a staging site? Would it be possible to get access for it? If yes, your next reply will be private to let you share credentials safely.

#2221201

Thank you for your feedback. Unfortunately, I was not able to login to the website because of a security layer. Check this screenshot

I can see the issue of audio players, they do not work for the pages that are loaded with AJAX. But, I do not see the issue of questions marks. I suggest that we handle the audio players issue first, then we can check the pagination, and question marks issue when it is reproduced.

Can you please check how to enable login for me and I'll see what we can do for the audio players issues. Your next reply will be private to let you share credentials safely.

#2221253

Hi there, I added Morocco to the list. That's the only other country I could see trying to access around that time. I hope it works now.

#2221553

Thank you! That's my connections, I am based in Morocco.

I logged into your website and I have been able to reproduce the questions marks issue. But, I am not sure how that was possible. Probably because I switched the Fields&Text field to the HTML mode. Then, I resaved in the Visual mode and the questions marks disappeared. I am keen to think that this is also caused by a 3rd party plugin that is being used inside the blocks editor. I wonder if you can provide a staging site where we can run tests without affecting the live users?

Regarding the audio player issue, it was happening for searches and for pagination. Basically, this issue happens for the content that is being loaded using AJAX. I tried to fix it, by running some Javascript code, to no avail. I will need to take a copy of your website to further debug this. Would you allow me to take a copy of the website?

Regarding the pagination issue, it is possibly a bug. Now, that you are using the dropdown, I suggest that we handle the first issues first, and that we get back to this one later. Sounds good?

#2221795

Thanks. I created a dev site. dev[dot]amaravati[dot]org. Please remove this message or hide it. I couldn't find the 'secure' reply. The logins should be the same since I staged/cloned it.

#2222143

Sorry, I was so immersed in your first question, I forgot to answer the rest.

No problem making a copy. And handle the first issues first is a good idea. I wonder what is actually creating this issue indeed.

#2222195

Thank you for providing the dev site and for answering my questions. However, it seems that the dev site is blocking me too. Maybe you will need to allow my connection from Morocco here too. hidden link

#2222349

sorry about that. Yes, country added. I am happy our geo security works... it is just a pain to block everyone, but seems to be 'nicer' for the backend for wordpress.

#2222483

Unfortunately, the view is broken on the dev site. hidden link And this gives unexpected results on the frontend.

If I try to remove the view, and add it again to the page, it does not allow editing it any more. hidden link

Can you copy the live site again to this server? Or allow me to take a copy from the live site(using Duplicator or All In One Migration plugins)

#2222487

Please make a copy if that is easier. Yes, using plugin duplicator is fine. Also, be careful with the upload folde,r it is huge. Full of mp3s.

#2222501

Thank you! The Duplicator plugin fails to create the copy. I'll try the All In One Migration plugin, and if it does not work I'll get back to you.

In the meantime, I'd like your help to understand how the audio player is being built. From what I could gather so far, it is generated by a shortcode inside a Paragraph block. I suspect that you are passing an attribute to the shortcode using an inline dynamic source from the enclose custom field. I assume that this custom field comes from a 3rd party plugin. Probably, the "podcast player" or the "Blubrry PowerPress" plugins. I can't tell. Can you help me understand better? Any detail may be helpful.

#2222533

Hi jamal,

We needed custom post and we use a plugin (hidden link) to 'upload' mp3 which put it neatly (by parsing the mp3's tags) into the CPT: Dhamma Talks, example: hidden link. You can see an 'entry' CUSTOM FIELDS at the bottom, which shows the 'enclosure' tag item:

hidden link
62433465
audio/mpeg
a:1:{s:8:"duration";s:7:"1:38:22";}

There is 'no' other 3rd party player involved when 'parsing' or 'saving' the mp3 data into this CPT.

The reason for the other plugins that you have seen are for different results:
- blubrry plugin: to create 'podcast/rss' feeds based on a taxonomy or category choice. WordPress natively can only produce 1 rss/podcast enabled feed. We needed more granularity, since have a lot of talks that we want to share based on 'speaker' or 'type of talk' etc. So having this plugin, we could produce many different feeds.
- podcast player: we needed to have a way to 'show and play' our podcast feeds at the frontend. The easiest way was this plugin, which could 'read' a feed and display the podcast playlist and have a player.
- Toolset: the idea is really to provide a search and result for our audio (mp3) library. So people can search based on our taxonomies. We are not that fussy about the layout, as long as it is easy to use and clear overview. (for instance the pagination is a minor issue, the player not showing the talk is a major issue).

I hope this makes sense at your end?

edit: added 'other' in : There is 'no' other 3rd party player involved when 'parsing' or 'saving' the mp3 data into this CPT.

#2222565

Ok, I did the following and it might lead somewhere:

1) I created a new page on the stage server, that is similar to the original audio library:
hidden link
This solves the 'viewing' problem you have on the original site. When I created this, it didn't use the AJAX to refresh, so it is NO AJAX. And then the audio player works on all files >> great.

I changed this on the 'live' server as well, and now the player works:
2) hidden link
This is page 28, and normally it wouldn't have worked. But the question marks are still there.

So, your guess was good.
a) AJAX creates issues with audio player, I don't know why of course. But I change this on the live server to make it work for now.
b) you can use the page on point 1 to do some testing. Although the player worked in point 1, it does shows all the questions marks ??? again.

Hope this helps, I do wish to get it to a working state if possible.

thanks for the support so far.

#2222567

I just made and downloaded an All In One Migration export, it is around 6Gb.

I just want a confirmation that you are using a Paragraph block with inline dynamic source to pass the audio URL to the shortcode attribute, right?