Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Jameth12

    (@jameth12)

    The tag capture is working now! That invalid URL was being generated by an incorrectly enqueued script within functions.php.

    Thank you so much for your help and for pinpointing the issue!

    Thread Starter Jameth12

    (@jameth12)

    Thank you, but same crash with the developer version unfortunately. Learning as I go, the error logs within CP File Manager weren’t the right ones to be looking at, I needed to be looking at the latest error messages at a higher level in cPanel tools. It shows a handful of logs all with identical content, here’s one:

    [Tue Apr 23 02:02:12.070337 2024] [lsapi:error] [pid 4086348:tid 23349990254336] [remote 94.192.115.19:63537] [host www.tsl.com] Backend fatal error: PHP Fatal error:  Uncaught League\\Uri\\Exceptions\\SyntaxError: The port unpkg.com is invalid in /home/cosnvb59uf13/public_html/web.tsl-hid.com/wp-content/plugins/no-unsafe-inline/vendor/league/uri/src/UriString.php:382\nStack trace:\n#0 /home/cosnvb59uf13/public_html/web.tsl-hid.com/wp-content/plugins/no-unsafe-inline/vendor/league/uri/src/UriString.php(359): League\\Uri\\UriString::filterPort('unpkg.com')\n#1 /home/cosnvb59uf13/public_html/web.tsl-hid.com/wp-content/plugins/no-unsafe-inline/vendor/league/uri/src/UriString.php(323): League\\Uri\\UriString::parseAuthority('www.tsl.comhttp...')\n#2 /home/cosnvb59uf13/public_html/web.tsl-hid.com/wp-content/plugins/no-unsafe-inline/vendor/league/uri/src/Uri.php(468): League\\Uri\\UriString::parse('https://www.tsl...')\n#3 /home/cosnvb59uf13/public_html/web.tsl-hid.com/wp-content/plugins/no-unsafe-inline/src/Nunil_Capture.php(894): League\\Uri\\Uri::createFromString('https://www.tsl...')\n#4 /home/cosnvb59uf13/public_html/web.tsl-hid.com/wp-content/plugins/no-unsafe-inline/src/Nunil_Capture.php in /home/cosnvb59uf13/public_html/web.tsl-hid.com/wp-content/plugins/no-unsafe-inline/vendor/league/uri/src/UriString.php on line 382\n
    Thread Starter Jameth12

    (@jameth12)

    Apologies for the late reply, and thank you for your help! I did try extending memory limit but still experienced the same crash. I also checked the error log file but couldn’t see anything being reported at the time of the crash. I’ll do some further tests to make sure I haven’t missed something.

    Thank you for pointing out the unrelated error, thats very kind of you. We will look further into that.

    Thread Starter Jameth12

    (@jameth12)

    It appears in about 8 php templates, like search.php, index.php, archive.php and the home page template to show a short text excerpt

    e.g. https://www.tsl.com/?s=MC67

    <div class="entry-content">
    	<?php show_content_snippet( $post, 200 ); ?>
    </div>

    Thread Starter Jameth12

    (@jameth12)

    Hi there,

    Thank you so much for looking into this – i tried out version v1.3.73.8 but unfortunately the problem is still there.

    Someone a lot more knowledgeable than myself will be having a look at my setup this afternoon so hopefully we’ll be able to give you some more feedback than just “it doesn’t work”!

    Kind regards,

    James

    Thread Starter Jameth12

    (@jameth12)

    Hi Jeff,

    I used the fantastic WP-Rollback plugin which was very easy to use, but yes there are risks with using this sort of plugin (Make sure you read the warnings and follow the backup/testing advice on the plugin page first).

    Kind regards,

    James

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