Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Uncaught TypeError: preg_split() #4509

Closed
4 tasks
madeITBelgium opened this issue Nov 17, 2021 · 2 comments · Fixed by wp-media/rocket-lazyload-common#100 or #4514
Closed
4 tasks
Assignees
Labels
module: lazyload images priority: high Issues which should be resolved as quickly as possible severity: critical Defect that prevents the testing/use of the software type: bug Indicates an unexpected problem or unintended behavior
Milestone

Comments

@madeITBelgium
Copy link

madeITBelgium commented Nov 17, 2021

Describe the bug
After updating to 3.10.3 I have 500 errors on different websites.

To Reproduce
Steps to reproduce the behavior:

  1. Update to 3.10.3
2021/11/17 13:59:29 [error] 2590047#2590047: *9798216 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: preg_split(): Argument #2 ($subject) must be of type string, null given in /home/xxx/web/xxx.be/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/RocketLazyload/Image.php:522
Stack trace:
#0 /home/xxx/web/xxx/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/RocketLazyload/Image.php(522): preg_split()
#1 /home/xxx/web/xxx/public_html/wp-includes/class-wp-hook.php(303): WP_Rocket\Dependencies\RocketLazyload\Image->convertSmilies()
#2 /home/xxx/web/xxx/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#3 /home/xxx/web/xxx/public_html/wp-includes/formatting.php(3823): apply_filters()
#4 /home/xxx/web/xxx/public_html/wp-includes/class-wp-hook.php(303): wp_trim_excerpt()
#5 /home/xxx/web/xxx/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()

Backlog Grooming (for WP Media dev team use only)

  • Reproduce the problem
  • Identify the root cause
  • Scope a solution
  • Estimate the effort
@piotrbak piotrbak added module: lazyload images priority: high Issues which should be resolved as quickly as possible severity: critical Defect that prevents the testing/use of the software type: bug Indicates an unexpected problem or unintended behavior labels Nov 17, 2021
@piotrbak
Copy link
Contributor

Hello @madeITBelgium could you reach our support and share WP/SFTP credentials of the affected website, so we can investigate the problem?

@madeITBelgium
Copy link
Author

@piotrbak Thank you. I sended an e-mail to [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: lazyload images priority: high Issues which should be resolved as quickly as possible severity: critical Defect that prevents the testing/use of the software type: bug Indicates an unexpected problem or unintended behavior
Projects
None yet
3 participants