Search results

  1. digitalpoint

    New Update gave 500 server error

    Do things work as expected for you? Just want to make sure whatever was affecting you was indeed that.
  2. digitalpoint

    New Update gave 500 server error

    So I was able to get a 502 error from Cloudflare... Basically I took all the scripts and CSS you have on that page and then preloaded each of them 10 times. Was just seeing if Cloudflare's side has a limit on HTTP response headers (apparently they do when it gets very, very big). Given that, it...
  3. digitalpoint

    New Update gave 500 server error

    Do you have an example URL of your site (even if the plugin is disabled currently)? One possibility might be that your web server has a limitation on the size of the HTTP response headers (normally there's a limitation on the request headers, but not response headers). If that's the case, then...
  4. digitalpoint

    New Update gave 500 server error

    What happens if you comment just this line (none of the other ones)? // add_action('wp_print_footer_scripts', [$this, 'handlePrintFooterScripts'], 9999999);
  5. digitalpoint

    New Update gave 500 server error

    Another option might be to install this plugin: https://wordpress.org/plugins/query-monitor/ Will capture PHP errors and let you view them in Admin bar...
  6. digitalpoint

    New Update gave 500 server error

    Any chance you have access to PHP error log and/or WordPress debugging log?
  7. digitalpoint

    New Update gave 500 server error

    Still trying to pinpoint it exactly. Haven’t been able to replicate it on my end, so limited to what others can give me (as far as info).
  8. digitalpoint

    New Update gave 500 server error

    Anything if the guts of the methods are wrapped in try/catch? public function handleScriptLoaderTag($tag, $handle, $src) { try { if (is_string($src) && strlen($src) > 3) { $this->preload['<' . sanitize_url($src) . '>;as=script;rel=preload']...
  9. digitalpoint

    New Update gave 500 server error

    Okay... one last test (hopefully). If you uncomment those two lines, and also replace the handleScriptLoaderTag and handleStyleLoaderTag methods farther down that file (approx line #223) with this: public function handleScriptLoaderTag($tag, $handle, $src) { if (is_string($src)...
  10. digitalpoint

    New Update gave 500 server error

    I've been digging and trying to think of various "what if" situations. One possibility I've come up with (and would cause an issue regardless if the new option was enabled or not) would be an invalid script or CSS URL came through WordPress's filter mechanism. It's *supposed* to be a string, but...
  11. digitalpoint

    New Update gave 500 server error

    May be as easy as adding this to your config.php file once it's ready: define('WP_DEBUG', true); https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ Did I mention how much I hate that I can't replicate it? 😂
  12. digitalpoint

    New Update gave 500 server error

    Augh... sorry for all the testing (feel free to not do anything). I really wish I was able to replicate it somehow. In the wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Base/Pub.php file, if you just remove these lines (around line #20): $cloudflareRepo = new...
  13. digitalpoint

    New Update gave 500 server error

    Ok... so not that. Did you enable the new option (preload resources)? With that enabled, it does trigger an ob_start() call so any output is buffered (allows us to add the necessary preload header after WordPress generates it's content). So maybe something going on with ob_start(), but that...
  14. digitalpoint

    New Update gave 500 server error

    Okay, so not that... 🤔 Not sure how willing you are to test things, but unfortunately I'm not able to since I can't come up with a PHP/web server combo that causes any issues. But if you are... If you make a new file on your server with this (can name it test.php or anything really): <?php...
  15. digitalpoint

    New Update gave 500 server error

    One thought that just came to mind (and maybe why I'm unable to replicate it). It could be that some servers have certain PHP functions/classes explicitly disabled (ones that are being used). Any chance you could check to see if your phpinfo shows anything for disable_functions or disable_classes?
  16. digitalpoint

    New Update gave 500 server error

    Still haven't been able to replicate this on our end no matter the setup/config I try. I did find some old references to stacking ob_start() being problematic when a PHP is using an internal output handler that doesn't support stacking. Not sure if this is what's going on since I haven't been...
  17. digitalpoint

    New Update gave 500 server error

    What version of PHP are you using? Do you happen to have access to error log so you could see exactly what the error is? There really isn't a whole lot that changed with the update.
  18. digitalpoint

    image error (local url instead of cloudflare's)

    Uninstalling the plugin is the same as disabling R2 in settings (the site wouldn't know anything about R2). URLs would go back to WordPress default. But yes, if you are going to do that, you'll want to move the images back to the local filesystem first.
  19. digitalpoint

    image error (local url instead of cloudflare's)

    You could use any tool that supports the standard S3 protocol to download/delete/upload, etc. in bulk. The one I see most people using is rclone. It has a lot of options (because it can do a lot of stuff). I haven't personally used it because I've never needed to move things around a bucket in...
  20. digitalpoint

    image error (local url instead of cloudflare's)

    The R2 settings page has the Migrate existing media button. That lets you go both directions (from local to R2, but also from R2 back to local). Can also do it with WP-CLI (both directions).
Back
Top