"Unable to load template" error after Oct. 4th update

Hello!

I just updated my pro theme today, and then attempted to create a new template (from a page created before the update) and then load it into a new page. It throws the “Unable to load template” error.

Doesn’t seem to be a plugin compatibility error - I deactivated all plugins and the error was still there. All plugins are up to date. The upload limit is 512MB.

I’d appreciate your help! Thank-you!

Hi Rebecca,

Thank you for writing in, yes I was able to see the issue on your site, but was not able to replicate it on my dev site even with your templates, so it seems this is specific to your setup. Please do the following.

  • Clear all the site caches (plugin, server-side, CDN, and browser’s cache) so that the code from the latest release is always in use. This will help you to avoid any potential errors. While you’re at it, please deactivate this caching feature while we tackle this issue.

  • Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

  • Remove custom Javascript and custom templates (if any).

  • Reset your .htaccess file by renaming it to .htaccess-bak. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button.

  • Contact your hosting provider to increase your allocated memory limit or do it yourself by adding this code in your wp-config.php file.

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

You can add it before the line:

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

[Increasing PHP Memory Limit](https://theme.co/apex/forum/t/troubleshooting-increasing-php-memory-limit/16935)

Let us know how it goes,
Cheers!

Hello!
Is memory_limit 512mb is minimum requirement?

It’s not a requirement. We often suggest it that when troubleshooting issues because hitting the memory limit is a common problem if there are too many plugins active on a site.

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