Tell us what you are trying to do?
Minesh supported this case for part 1, now I open a new ticket for part 2.
When looking at the website with PHP 8.1 and with debugging option showing remarks in the display, I found a lot of remarks concerning 'depreciated functions' in types or Toolset respectively. You find in the following the links and the debugging comments:
LIST OF LAWS
hidden link
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/franzgas/www/rechtskonform.ch/wp-content/plugins/toolset-blocks/vendor/toolset/common-es/server/Rest/Route/ShortcodeRender/WithMeta.php on line 55
I looked at the code in withmeta.php:
public function wpv_content_template_meta() {
if( preg_match( '#view_template=[\"\'](.*?)[\"\']#', $this->shortcode, $ct ) ) {
if( $post = get_page_by_path( $ct[1], OBJECT, 'view-template' ) ) {
$this->meta_data['post_title'] = $post->post_title;
$this->meta_data['post_edit_link'] = admin_url( 'admin.php?page=ct-editor&ct_id=' . $post->ID );
}
NEWS
hidden link
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/franzgas/www/rechtskonform.ch/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php on line 685
LIST OF PROFESSIONAL FORMATION
hidden link
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/franzgas/www/rechtskonform.ch/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/date_utils.php on line 286
So in all cases, the error messages are repeated as much as the number of single posts is. Am I using deprecated functions? I looked at shortcodes and dynamic sources, but could not find something wrong.
Is there any documentation that you are following?
Toolset documentation.
I would prefer to get support from Minesh, because he has already the credentials to login on our website.