Cornerstone Templates with bugs?

Hi guys. In this thread I tried to solve a loading problem. It appeares that the problem is related to cornerstone

https://theme.co/apex/forum/t/error-message-500-only-on-pages-with-subpages/59274

I tried every sugeested solution. Nothing worked. My last try was to create the mentioned pagaes again but then I realized that all new pages created with my Cornerstone Templates would not load. When I tried to dublicate the pages that are working the layout of the dublicated page is messed up and it is impossible to enter the cornerstone edit page… It would take too much time to create new templates, so I was hoping you could check this templates and find the possible problem.

It seems to be something in section 2 row 2

Obviously the problem occures when I insert the navigation element into the first column of section 2, row 2. As soon as I delete it, the site loads again.

Hello @blueprint,

Thanks for writing in! An internal server error could mean that there is a fatal error in your site. Can you please enable the debug mode? You can do this by opening wp-config.php and adding


define('WP_DEBUG', true);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should have some error output describing the issue in more detail. ​

We also ecommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

We would love to know if this has worked for you. Thank you.

Thanks. The memory limit is already increased. I tried to activate debug mode several times in the past, but it did not work. I’ll send you the access to FTP if you want to check what is going on there.

You should know that there is also an issue with the server - changes to FTP or WordPress can take some time until they are updated on the server. This means that it is possible that the site won’t load for some time untill the changes are adapted…

Hello @blueprint,

We have checked your wp-config.php file and change some of the settings. We’ve waited for a while to make sure tht the changes will take place. After a while, we tested the page and still we are having some errors. There are no logs added in the debug.log and no display on the page as well. Can you please ask your hosting provider for the error log or server log related to this errors. It can give us more information on what is happening on those page.

And by the way, please make sure that you have meet the requirements to run the latest WordPress.
You can check out the requirements here: https://wordpress.org/about/requirements/
And you can check your site’s server settings here: https://tcm-cen.de/wp-admin/site-health.php?tab=debug

Please let us know how it goes.

Thanks a lot. I will take care of it and get back to you.

You’re welcome and thank you for you’re cooperation.

Hi again!

So the debug.log has the name: cgi_error.log in the directory home/www/.
I also disabled DNS sec wich will eliminate the delay of changes. (It could take a view hours untill it is fully disabled).

I hope this can help you find the problem…
Thanks!

Hi @blueprint,

Thanks but that is not the error log (cgi_error.log) that we are looking for if you take a look on that the last logged error is way back from 2018.

We are after this debug.log file under /public_html/wp-content/ unfortunately that log as well has no clue.

I’ve investigated the issue thoroughly, though I was not able to trace the root of the issue, I know that the issue happens if there are multiple navigation elements on your page regardless what type of navigation element it is and which menu assigned to it. But we can not roll this out as a bug since we can not replicate this issue on our end. Your very own template works fine on our dev site (even if we added more navigation elements to it).

The error that we are experiencing on your site (500 Internal Server Error) is more likely a server-side issue, please contact your hosting technical support and give them the information how the error trigger when there are multiple navigation elements on the page. Again, the issue is not happening on our end with your own template.

Also, it is worth mentioning to try to DISABLE ModSecurity and see if that resolves the issue.

If you have a different server, you can also clone your site on that server and test the issue.

Let us know how it goes,
Cheers!

Hi guys, thanks for trying to find the problem! That helped me to narrow down the problem and know that it had to be the hoster. The solution was that the hoster increased the loading time limit from 40 to 100 seconds. It’s strange, because now the pages are all loading in under 1 second. It could be some Plugin problem. But I’d rather not try anything now that it is working. I still have no answer as to why the debug.log is empty…

Hello @blueprint,

It’s good to know that it is working now.

Your debug.log maybe empty because it is writing into the error.log file or probably debug logging is disabled. I would recommend that you ask further assistance regarding this with your hosting provider instead.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.