• Resolved neilt17

    (@neilt17)


    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 to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter neilt17

    (@neilt17)

    These are some of the error messages I am getting in the server logs (server specific information removed):

    [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

    (@dartiss)

    Odd. Let me take a look and I’ll get back to you. For now, stay on the previous release.

    Plugin Author David Artiss

    (@dartiss)

    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

    (@neilt17)

    Yes of course

    Plugin Author David Artiss

    (@dartiss)

    Thanks.

    Here’s a draft of 2.3.8 – can you try it and let me know if that fixes the problem?

    jeffkitson

    (@jeffkitson)

    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

    (@dartiss)

    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

    (@jeffkitson)

    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

    (@dartiss)

    Phew. Thank goodness for that – for a moment, I thought my fix still hadn’t worked.

    @neilt17?– have you been able to try it yet?

    Plugin Author David Artiss

    (@dartiss)

    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.