Title: Pages with embedded code timing out (code embed version 2.3.7)
Last modified: November 16, 2023

---

# Pages with embedded code timing out (code embed version 2.3.7)

 *  Resolved [neilt17](https://wordpress.org/support/users/neilt17/)
 * (@neilt17)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/)
 * With version 2.3.7, pages containing an embedded code do not load and time out.
 * I am using Code Embed to embed html from urls. For example, in Custom Fields:
 * Name: CODE:example-page
 * Value: %https://example.com/example-page.html%
 * And on the page:
 * %CODE:example-page%
 * My WordPress installation is up-to-date (6.4.1-en_GB), as is php (8.1.25).
 * Rolling back to version 2.3.6 of code embed solves the problem (so the page linked
   to above works).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpages-with-embedded-code-timing-out-code-embed-version-2-3-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [neilt17](https://wordpress.org/support/users/neilt17/)
 * (@neilt17)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17206146)
 * These are some of the error messages I am getting in the server logs (server 
   specific information removed):
 *     ```wp-block-code
       [Thu Nov 16 08:41:33.583151 2023] AH01071: Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /wp-includes/class-wp-object-cache.php on line 180'
       [Thu Nov 16 08:44:22.021145 2023] AH01071: Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /wp-includes/link-template.php on line 3908', referer:
       [Thu Nov 16 08:44:32.287800 2023] AH01071: Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /wp-includes/kses.php on line 1819', referer:
       [Thu Nov 16 08:46:31.190082 2023] AH01071: Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /wp-includes/option.php on line 638', referer:
       [Thu Nov 16 08:47:22.591823 2023] AH01071: Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /wp-includes/pomo/translations.php on line 108', referer:
       ```
   
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17206175)
 * Odd. Let me take a look and I’ll get back to you. For now, stay on the previous
   release.
    -  This reply was modified 2 years, 6 months ago by [David Artiss](https://wordpress.org/support/users/dartiss/).
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17206206)
 * Oh, I think I know what this is.
 * Would you by happy to try testing a fix, if I make one available to you?
 *  Thread Starter [neilt17](https://wordpress.org/support/users/neilt17/)
 * (@neilt17)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17207474)
 * Yes of course
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17208074)
 * Thanks.
 * [Here’s a draft of 2.3.8](https://github.com/dartiss/code-embed/releases/tag/2.3.8)–
   can you try it and let me know if that fixes the problem?
 *  [jeffkitson](https://wordpress.org/support/users/jeffkitson/)
 * (@jeffkitson)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17211957)
 * Hi David,
 * I had this same issue. The draft of 2.3.8 works for me, but only if I add the
   curly braces. The percent sign doesn’t work. With the percent sign, the timeout
   is fixed, but the code is not embedded.
 * Is it possible to have the percent sign again in the official release?
 * Thank you for your work!
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17212100)
 * Dang it.
 * 2.3.8 was supposed to fix that – as you’ve noticed, the issue with 2.3.7 was 
   around which characters you used as the identifier. The OP was using percentage
   and not double braces. The change I made in 2.3.8 should automatically cope with
   whatever you use.
 * First of all, can you confirm that when you the percent sign, you’re changing
   and saving it in the settings, as well as in a post?
 * Assuming that’s the case, can you confirm what you’re embedding – like the OP,
   is it a URL?
 *  [jeffkitson](https://wordpress.org/support/users/jeffkitson/)
 * (@jeffkitson)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17212551)
 * David,
 * Thanks for your quick response. I checked the settings. You are correct. Everything
   is working now. I was mixing curly braces and percent as I thought they would
   both work.
 * Thanks for your help!
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17212771)
 * Phew. Thank goodness for that – for a moment, I thought my fix still hadn’t worked.
 * @[neilt17](https://wordpress.org/support/users/neilt17/) – have you been able
   to try it yet?
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17219347)
 * I’ve now pushed out 2.3.8 as the latest release.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Pages with embedded code timing out (code embed version 2.3.7)’ is closed
to new replies.

 * ![](https://ps.w.org/simple-embed-code/assets/icon.svg?rev=3073981)
 * [Code Embed](https://wordpress.org/plugins/simple-embed-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-embed-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-embed-code/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-embed-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-embed-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-embed-code/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [David Artiss](https://wordpress.org/support/users/dartiss/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/pages-with-embedded-code-timing-out-code-embed-version-2-3-7/#post-17219347)
 * Status: resolved