Skip Navigation

[Resolved] I cannot update in wordpress a page with a view.

This support ticket is created 2 years, 6 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 15 replies, has 3 voices.

Last updated by aaronL-4 2 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#2374635
Screen Shot 2022-05-31 at 11.52.23 AM.png

I am trying to:

I am trying to make a new page with a new view, and update an existing view with a filter. Neither will allow me to update/publish the page. The update and publish button is disabled on toolset pages. Not on regular content.

Link to a page where the issue can be seen:

hidden link (I also made this page, but it won't show the view: hidden link )

I expected to see:

I have been trying to add a filter to the view to show all pages except "category=blog." I have no problem making the filter. But the page won't save. If you ask me, this is because toolset was linking to the development site URL. I changed it to the live site... and updated the plugins... but it is still acting like I have not registered toolset. I have. And the URL is in there... the key is registered. It isn't working.

I need this fixed today if possible. What do you need from me?

#2374683

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Aaron,

Thank you for getting in touch.

What we recommend doing here is to enable the wordpress debugging functions to understand the error being thrown.

To enable the wordpress debugging you will either need to log into your website using FTP or using your Host's CPanel's file manager.

From there you will need to edit the wp-config file by adding the following.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

If the define( 'WP_DEBUG', true ); function already exists you will need to change 'false' to 'true'

Once you've done this please revisit the page with the issue and let me know what the issue is.

Thanks,
Shane

#2374693

I edited and FTP'd the config file. I don't see any errors.

Go ahead and tell me what you see. Could you click the update button on a "page that uses toolset"?

#2374695

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Aaron,

Can you let me know when did this issue started to occur?

Also is it ok if I temporarily disable your non-toolset plugins as well as grab a copy of the site if needed?

Please let me know.
Thanks,
Shane

#2374703

No. Please don't disable any of the other plugins, as the site is live. If you want to copy it down and try it that is fine, but not on the live site.

I am only having issues with the toolset pages.

I started to make a new toolset view today. That is when I noticed it. It would not publish/update. My thought was that it was due to the "license" being attached to the development site domain. And I changed that to the live site domain today and updated toolset plugins today. I tried to fix the problem that way, but apparently it is something else. You can check my license and the site domain matches the site.

#2375449

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2022-06-01 at 9.39.38 AM.png
Screenshot 2022-06-01 at 9.39.53 AM.png

Hi Aaron,

The problem here is definitely server related.

Are you able to provide me with the PHP logs for your site ? As you can see on your site the view doesn't load but on the exact same site copy on my server the data loads. See Screenshots

Perhaps there is some data timeouts happening somewhere that is causing your view to not load completely.

Thanks,
Shane

#2375473

I have a CSV of error logs from the server for the last two days... how can I send that to you?

#2375501

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Aaron,

You can upload the csv file to dropbox or Google drive and share the link with me.

#2375503

hidden link

#2375549

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Aaron,

I had another look at your site and it would appear that wordpress heartbeat is throwing an JS error on your page. This could also be related as this error doesn't occur on the duplicate.

Can you install the plugin below and disable the wordpress heartbeat for the post edit pages.
https://wordpress.org/plugins/heartbeat-control/

Thanks,
Shane

#2375553

Here you go.

hidden link

#2375787

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Aaron,

I've escalated this ticket to our 2nd tier team for further debugging as i'm unable see exactly what is causing this issue.

Thanks,
Shane

#2376127

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2022-06-02 at 08.57.59.png

Hi Aaron

When I visit your site and try to edit the page with the View, in the browser console I see numerous requests with 403 responses.

See the screenshot.

Views is making requests via the REST API to your own server, and your server is blocking the requests.

Shane installed a copy of your site locally and didn't experience the same issue, which arises because of some server settings.

I suggest you contact your hosting company to discuss why the server is blocking such requests. (You can share the screenshot with them.)

#2379925

I thought I would give you guys a resolution. The site had "Global Edge Security" software enabled at the host and it was the culprit. A cached version of the "authentication" would not clear till it was disabled and re-enabled. Now it works.

#2380319

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Aaron,

Thank you for the update and sharing this information with us. You can go ahead and mark this ticket as resolved when ready.

Thanks,
Shane