Home › Forums › Jevelin Theme › Page crashed with 2 Post Grids
Home › Forums › Jevelin Theme › Page crashed with 2 Post Grids
Hello,
I’m currently developing a website with Jevelin Theme. On a subpage I want to place 2 post grids which load several pages per ID each. (See Image 1).
When I save the widget, nothing is displayed, and I don’t get any error on my log or web console. (See Image 2).
When I save and load the site, it’s just white and empty. (See Image 3)
This issue only happens when I try to load more than 1 element with List of IDs from post grid. Unfortunately I cannot do it another way because the Custome query also not working :(.
My environment:
1. WordPress on Docker with MariaDB on a MacBook Pro
2. No errors on WordPress or Apache Log
3. No errors on Browser console
Hi there,
Can you please share login data in the private field, so we can debug this issue directly on your website? As at the moment we are not sure what could be the cause of this issue.
Best regards,
Shufflehound team
Hello,
sorry for late response. I’m currently developing the site on my local computer and not on a webspace. I can offer you 2 solutions.
1. Provide the docker image so that you can run it on your machine to debug. (link is in the hidden field)
2. Maybe we can do a quick Zoom call?
If both are not possible, I need some time to transfer the system to a webpage.
I have added an image of my behaviour for better understanding.
Oh, we just realized that that you were using built in element, which we don’t have a lot of control. Did you try to use the blog posts element? That is build by us?
Also which PHP version are you using?
Best regards,
Shufflehound team
Hello,
I used the Portfolio element because I need to create multiple pages that are linked automatically with categories together. Normal pages don’t have categories (thanks to WordPress for this) and posts don’t work with templates that are necessary for us.
So we only can use the portfolio because of categories and templates. For example a member have multiple projects and presentations. The projects and presentation should automatically visible on an overview site.
They should also link on the userpage. Our people who create the content don’t have time to do this automatically.
We are unfortunately unable to change the requirements and bough the system to fulfill them.
Is the link with the id working on your system? Maybe its just a bug with my server that cause this?
I add the information about the system as an image.
I have the issue also if i use pages and blog posts with an id
At the moment it is very hard to tell what could be the cause, but PHP version and other settings seems fine.
Isn’t it possible to make your docker setup available publicly via IP address?
This is difficult for me, but I will give it a try. Basically it would be better if you would download the image with the files from me and test it locally.
The link and access I have you already entered the hiddenfield.
We can also take a look together via zoom.
Hello,
I think I found the issue. I have a site (a) with content and a widget link to another site. Furthermore, I now create a new site (b) and link site a and maybe also site c via id it causes a memory error like the following.
I think something cause an endless loop or so on a kill the PHP memory. Maybe take a look at this. It is funny that i don’t have the issue if I use categories instead of ids, but this is not working with our requirements.
[Wed Oct 20 13:17:05.756325 2021] [php7:error] [pid 28] [client 172.20.0.1:63824] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/wp-content/plugins/js_composer/include/params/vc_grid_item/shortcodes.php on line 904, referer: http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d
127.0.0.1 – – [20/Oct/2021:13:17:06 +0000] “OPTIONS * HTTP/1.0” 200 126 “-” “Apache/2.4.48 (Debian) PHP/7.4.24 (internal dummy connection)”
172.20.0.1 – – [20/Oct/2021:13:17:07 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 84647 “http://localhost:8080/wp-admin/post.php?vc_action=vc_inline&post_id=615&post_type=fw-portfolio” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0”
172.20.0.1 – – [20/Oct/2021:13:17:14 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 481 “http://localhost:8080/wp-admin/post.php?vc_action=vc_inline&post_id=615&post_type=fw-portfolio” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0”
[Wed Oct 20 13:17:17.709735 2021] [php7:error] [pid 21] [client 172.20.0.1:63828] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/wp-content/plugins/js_composer/include/params/vc_grid_item/shortcodes.php on line 908, referer: http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d
172.20.0.1 – – [20/Oct/2021:13:16:47 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 500 619 “http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0”
127.0.0.1 – – [20/Oct/2021:13:17:21 +0000] “OPTIONS * HTTP/1.0” 200 126 “-” “Apache/2.4.48 (Debian) PHP/7.4.24 (internal dummy connection)”
[Wed Oct 20 13:17:27.465326 2021] [php7:error] [pid 35] [client 172.20.0.1:63838] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/wp-includes/plugin.php on line 1701736302, referer: http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d
172.20.0.1 – – [20/Oct/2021:13:17:03 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 500 619 “http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0”
127.0.0.1 – – [20/Oct/2021:13:17:28 +0000] “OPTIONS * HTTP/1.0” 200 126 “-” “Apache/2.4.48 (Debian) PHP/7.4.24 (internal dummy connection)”
I have wordpress now assign more memory and found a new issue:
<p class=”jss1321″><code class=”jss1320″>vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0″</p>
<p class=”jss1321″><code class=”jss1320″>[Wed Oct 20 14:05:17.703674 2021] [php7:error] [pid 21] [client 172.18.0.1:58638] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/wp-includes/class-wp-hook.php on line 302, referer: http://localhost:8080/wp-admin/edit.php?post_type=fw-portfolio</p>
<p class=”jss1321″><code class=”jss1320″>[Wed Oct 20 14:05:35.668383 2021] [php7:error] [pid 28] [client 172.18.0.1:58724] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php on line 191, referer: http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d</p>
<p class=”jss1321″><code class=”jss1320″>[Wed Oct 20 14:06:13.118380 2021] [php7:error] [pid 27] [client 172.18.0.1:58744] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/wp-includes/wp-db.php on line 2056, referer: http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d</p>
<p class=”jss1321″><code class=”jss1320”>172.18.0.1 – – [20/Oct/2021:14:05:19 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 500 619 “http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0″</p>
<p class=”jss1321″><code class=”jss1320”>172.18.0.1 – – [20/Oct/2021:14:06:41 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 660 “http://localhost:8080/wp-admin/post.php?vc_action=vc_inline&post_id=615&post_type=fw-portfolio” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0″</p>
<p class=”jss1321″><code class=”jss1320”>172.18.0.1 – – [20/Oct/2021:14:06:44 +0000] “POST /project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d HTTP/1.1” 200 21505 “http://localhost:8080/wp-admin/post.php?vc_action=vc_inline&post_id=615&post_type=fw-portfolio” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0″</p>
Think this is from your theme:
[Wed Oct 20 14:05:35.668383 2021] [php7:error] [pid 28] [client 172.18.0.1:58724] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php on line 191, referer: http://localhost:8080/project/cool-new-project/?vc_editable=true&vc_post_id=615&_vcnonce=e999ba976d
Oh, can you please also increase PHP maximum execution time and then test it again.
It may show more detailed error as at the moment this error doesn’t tell us much (only that there is timeout in WPBakery page builder).
I have currently added this to wp-config.php:
/** Memory limit */
define(‘WP_MEMORY_LIMIT’, ‘512M’);
define(‘WP_MAX_MEMORY_LIMIT’, ‘2000M’);
/** Time limit */
set_time_limit(300);
With this setup, I am able to load some sites with ID into the post grid. But if I try to load a site with ID that also have a post grid that loads sites with a ID it breaks with:
Thank you for your log.
We are still not sure where the error comes from as this message doesn’t tell the cause/source, but can you please try to latest beta version? There are a few bug fixes that could improve this situation.
Please login to access this file
Hello,
I have now installed a test system on which you can observe the problem. The system is completely new and without modification. Since this is a test environment and not the development environment, the theme also has no key activated (I throw it away if it is no longer needed).
The URL + data are in the hidden field.
I would ask you to find a solution to the problem in a timely manner. We have purchased this product and have a project to create. This project has a schedule that has already been delayed by almost 2 weeks because of this problem. The previous tips were unfortunately not OK and much too superficial.
Furthermore, I offer as a developer that we look at the bug together. I have already analysed parts of your system, as the logs above show.
Sorry for our delay.
Is it possible to enable the server again? We will try to inspect soon as the server will be running.
Hello,
the server is now visible again. The issue is also realy easy to reproduce on local machine.
We just did some testing and we saw that Unyson plugin was causing some issues, therefore we disabled it.
Besides that it looks like your issue is related to WPBakery element options. You are trying to include page inside page inside page which creates forever loop and therefore crashes.
I think it is a valid use case that you have a project page that refer to his project leaders that also have a reference back to this project. We also need this use case to take care that partner companies have leaders that also hold a reference to projects and other partners.
From our side of view it is nothing special if you are creating a site for a company or so one and want to link manually between different pages’ ort post.
Please implement a solution for this use case.