So I am having the same issue, I was able to fix it by adding a question mark before the word string in line 120 of the code on my backend. Basically followed the menu all the way down until I got to the correct php code.
Started at the content/ and went all the way down until I found the code to correct.
An error of type E_ERROR was caused in line 120 of the file /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/stellarwp/harbor/src/Harbor/Admin/Feature_Manager_Page.php.
It is not a perfect fix as I am unsure what caused it but my team did let me know it is working well currently
Hello @code3creative and @phxadm,
Thank you for the report. We have become aware of that issue and we will be including the fix in our next release. For now, here is how we are fixing in case you are confident enough to implement the fix yourselves.
Thank you!
Ok I went ahead and did the change from the github. I am going to have the client try what caused the fatal error last time in the morning – can we keep this thread open until I reply with their update?
I have updated to the latest version of the plugin and I am getting this fatal error now (example.com is replacing my URL for privacy)
Error Details
An error of type E_ERROR was caused in line 135 of the file /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets/common/src/Common/Integrations/Harbor/PUE.php. Error message: Uncaught TypeError: TEC\Common\Integrations\Harbor\PUE::filter_pre_http_request(): Argument #3 ($url) must be of type string, null given, called in /home/customer/www/example.com/public_html/wp-includes/class-wp-hook.php on line 341 and defined in /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets/common/src/Common/Integrations/Harbor/PUE.php:135
Stack trace: 0 /home/customer/www/example.com/public_html/wp-includes/class-wp-hook.php(341): TEC\Common\Integrations\Harbor\PUE->filter_pre_http_request(false, Array, NULL) 1 /home/customer/www/example.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) 2 /home/customer/www/example.com/public_html/wp-includes/class-wp-http.php(277): apply_filters(‘pre_http_reques…’, false, Array, NULL) 3 /home/customer/www/example.com/public_html/wp-includes/class-wp-http.php(657): WP_Http->request(NULL, Array) 4 /home/customer/www/example.com/public_html/wp-includes/http.php(189): WP_Http->get(NULL, Array) 5 /home/customer/www/example.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/File_Cacher.php(764): wp_remote_get(NULL, Array) 6 /home/customer/www/example.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/File_Cacher.php(540): SiteGround_Optimizer\File_Cacher\File_Cacher->hit_url_cache(NULL) 7 /home/customer/www/example.com/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher.php(219): SiteGround_Optimizer\File_Cacher\File_Cacher::purge_cache_request(NULL, true) 8 /home/customer/www/example.com/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher.php(492): SiteGround_Optimizer\Supercacher\Supercacher::purge_cache_request(NULL, true) 9 /home/customer/www/example.com/public_html/wp-includes/class-wp-hook.php(343): SiteGround_Optimizer\Supercacher\Supercacher->purge_queue(109680) 10 /home/customer/www/example.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) 11 /home/customer/www/example.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) 12 /home/customer/www/example.com/public_html/wp-includes/post.php(5193): do_action(‘save_post’, 109680, Object(WP_Post), true) 13 /home/customer/www/example.com/public_html/wp-includes/post.php(5295): wp_insert_post(Array, false, true) 14 /home/customer/www/example.com/public_html/wp-admin/includes/post.php(449): wp_update_post(Array) 15 /home/customer/www/example.com/public_html/wp-admin/post.php(227): edit_post() 16 {main}
thrown
Still getting this fatal error on the website. Got another email notification about it today. Looks like others are also posting support threads here with the same problem. Can we please get a fix?
Plugin Support
Darian
(@d0153)
Hi @code3creative
Thanks for your message. It looks like this is a different error from the one you initially reported.
Could you please go to WP Admin → SG Optimizer → Caching → File-Based Caching and turn it OFF, then check if that resolves the issue?
In the meantime, I’ve already shared the error message with our team for further investigation, and we’ll update you as soon as we have more information.