API - Sites for Tags by ID - missing data

Hi guys,

We noticed that the following API endpoint is missing some data in the response:

{{mainwp-dashboard-url}}/wp-json/mainwp/v2/tags/{{tag_id}}/sites/

We tested using this:

https://mainwpdash/wp-json/mainwp/v2/tags/3/sites/

And got the following:

{
    "success": 1,
    "total": 2,
    "data": [
        {
            "id": "600",
            "name": "domain.com",
            "url": "https://domain.com/",
            "tags": "",
            "note": "",
            "ip": "192.1.1.1",
            "client_id": "0",
            "is_staging": "0",
            "wp_version": "",
            "php_version": "",
            "child_version": "",
            "mysql_version": "",
            "memory_limit": "",
            "database_size": "",
            "active_theme": "",
            "status": "",
            "sync_errors": "",
            "http_status": "",
            "health_status": "",
            "health_score": "",
            "icon": "",
            "last_sync": "",
...
rest of the response is OK

Basically, lots of empty values - domain, url and IP are showing properly.

The rest of the response like plugin, theme updates, etc is also OK.

Thanks!
Fixed. net

Hey @Fixed

I’ve reproduce this issue and passed it along to our dev team.

I’ve update this thread once I have new information to share.

Hey guys,

Just checking if there’s an update on progress on this?

Thank you!

Hey @Fixed

The team is working on the issue and we plan to include the fix for it in the next week’s minor release.

If you wish, I can send you a pre-release version as soon as it’s ready.

Hey Bojan,

Thanks for the reply.

Yes, please!

Hey @Fixed

The issue has been fixed and I’ve sent you the pre-release version in a direct message.

Let us know if everything looks good on your end as well.

Thanks, Bojan!

It works now, but seeing a bit of performance downgrade across the dash (like “Updates” menu for example).

Previously, we were on 5.4.1-beta which was again pre-release for the previous issues you guys fixed for us, and it was working well.

So my question is - will all the previous fixes be included in the 5.4.1 and is there an aprox. date release?

Thanks again for sorting!
Fixed .net

Great to hear it’s works for you as well.

Yes, this fix, and all others that we released in the meantime, will be included in the upcoming beta.

We have actually changed the version number from 5.4.1 to 5.5 since there’s going to be more changes in that released than previously anticipated.

We don’t have an exact ETA for the 5.5-beta2, but on this page MainWP Early Release - MainWP WordPress Management, you can find up to date information, download the current 5.5-beta1, and subscribe to get notified when we release future betas or RCs.

Thanks!

We can close this thread now.

Just to briefly provide an update on this -

The fix for the issue was included in today’s MainWP Dashboard 5.4.0.17 release.

Thanks again for reporting this to us.