I am trying to: display a view
Link to a page where the issue can be seen:
hidden link
I expected to see:
a table of results
Instead, I got:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/salecemeterycom/public_html/wp-includes/meta.php on line 840
i get timeouts and the above error when the plugin is activated, even when in the admin area.
Tim
One thing I notice is that your front end converts the ShortCode brackets, but I do not assume this to be the issue here, instead, I wonder what in the View "burials-front-end" is.
Since you had Views disabled for good reasons, can you please just send me the copy of that site?
https://toolset.com/faq/provide-supporters-copy-site/
Then, I can quickly see what provokes the memory issue.
Most likely some infinite condition, or similar.
Then, the server collapses.
Mostly, the only chance to solve that is increase those failing value or change what happens in the View.
Sometimes this is as well due to other plugins, I'll see that locally once deployed.
This zip converts to a zip.cpgz and that back to zip
I followed this steps but it's the same on each suggested solution:
hidden link
I would need to have a plugin like Adminer (for database) installed on the site, or a copy of the database only, and a copy of the FTP
Can you provide that?
I can also try to grab that myself of you want, but I need you to ask to provide access to the whole system inclusive database.
Please let me know.
No, it converts to a cpgz again.
Please can you share with me this information?
https://toolset.com/forums/topic/fatal-error-allowed-memory-size-of-536870912-bytes-exhausted/#post-924029
Please either send me a copy of your database (and eventually) a copy in ZIP format of the FTP install.
The Database is the most valuable here as it will allow to replicate the same settings and contents as on your install
I would but cannot analyze the view on your site or even export in Toolset > Export, as Views is not active and according the report it'll bring down the site so I cannot activate it even temporally
Can you try to send mea database copy?
Or, an export of the View at least, so I can see what is in it?
As said, most likely there is something in that view that breaks it.
I need a copy of at least the database to see this.
I finally managed to get a Database copy from your cPanel, I see the error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in .../wp-includes/wp-db.php on line 1889
I saw, this happens only if you query the post type "burial", not for any other type of content you can query with Views.
It does as well not happen with new post types I create.
I see, the Burial Post type as 14000+ entries.
That view, is condemned to display 14000+ entries.
+ several Fields.
If you Limit the View in the Limit and Offset settings you can solve this issue.
You can limit only to 50 maximally and that works fine.
Or, you can load them all, and paginate them, that works as well.
However, loading ALL the posts at once with no single limit, ordering it by a Custom Field, and calling several of it's fields in a Content Template in turn, at the numbers I see here, may expectedly require much more time and resources.
I think the recommendation here has to be to paginate or limit, as the issue is immediately solved as far I see.
How do you see this?