Skip Navigation

PHP Notice and PHP Warning are generated when a shortcode does not include a “name” attribute and value

Resolved

Reported for: Toolset Views 2.3

Resolved in: Toolset Views 2.3.1

Symptoms

PHP Notice and PHP Warning are generated when a shortcode does not include a “name” attribute and value.

Warning: Illegal string offset 'name' in /path/to/wp-content/plugins/wp-views/embedded/inc/wpv-layout-embedded.php on line 90
Notice: Uninitialized string offset: 0 in /path/to/wp-content/plugins/wp-views/embedded/inc/wpv-layout-embedded.php on line 90

Workaround

This issue will be fixed in the next release of Toolset Views.

In the meantime, download views-1115, extract it and replace wpv-layout-embedded.php file in /wp-views/embedded/inc folder.

Comments are closed