Skip Navigation

[Assigned] Identified error in toolset views code

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 voice and has 0 replies.

>

Assisted by: Mateus Getulio.

Author
Posts
#2785302

Hi there,

I am following up on the resolved ticket https://toolset.com/forums/topic/fatal-error-with-toolset-views-and-php-8-1/

When I upgraded to Toolset Views from 3.6.16 to 3.6.18 it still produces this error. You said it might not be fixed in the latest release but want to make sure it's still going to get included in a future release.

As a reminder, it's this bit of code:

wp-content\plugins\wp-views\vendor\toolset\toolset-common\inc\autoloaded\utils\Attachments.php line 68:
// Split the $url into two parts with the upload directory as the separator.
// MODIFIED TO HANDLE CUSTOM UPLOAD LOCATION AT ROOT URL WITH NO TRAILING SLASH
$wp_parsed_url = wp_parse_url( $this->get_base_upload_directory(), PHP_URL_PATH );
$parsed_url = is_string($wp_parsed_url) ? explode( $wp_parsed_url, $url ) : [];

Thanks!