backdrop-contrib / views_bootstrap

This module provides a set of styles for the Views module. It allows you to create responsive Bootstrap 3.x components, such as grids, carousels, tabs, and tables, all within the configuration settings of the powerful Views module.
https://backdropcms.org/project/views_bootstrap
GNU General Public License v2.0
0 stars 7 forks source link

Demo Content - Generating Errors #72

Open stpaultim opened 3 weeks ago

stpaultim commented 3 weeks ago

Getting the following errors on installation. I will try to get a PR that fixes this soon.

Warning: Attempt to read property "settings" on bool in node_object_prepare() (line 922 of /var/www/html/core/modules/node/node.module).
Warning: Trying to access array offset on value of type null in node_object_prepare() (line 922 of /var/www/html/core/modules/node/node.module).
Warning: Attempt to read property "settings" on bool in node_object_prepare() (line 925 of /var/www/html/core/modules/node/node.module).
Warning: Trying to access array offset on value of type null in node_object_prepare() (line 925 of /var/www/html/core/modules/node/node.module).
Warning: Attempt to read property "settings" on bool in node_object_prepare() (line 928 of /var/www/html/core/modules/node/node.module).
Warning: Trying to access array offset on value of type null in node_object_prepare() (line 928 of /var/www/html/core/modules/node/node.module).
Warning: Attempt to read property "settings" on bool in node_object_prepare() (line 940 of /var/www/html/core/modules/node/node.module).
Warning: Trying to access array offset on value of type null in node_object_prepare() (line 940 of /var/www/html/core/modules/node/node.module).
Warning: Attempt to read property "settings" on bool in comment_node_prepare() (line 1329 of /var/www/html/core/modules/comment/comment.module).
Warning: Trying to access array offset on value of type null in comment_node_prepare() (line 1329 of /var/www/html/core/modules/comment/comment.module).
Warning: Attempt to read property "settings" on bool in menu_node_prepare() (line 634 of /var/www/html/core/modules/menu/menu.module).
Warning: Trying to access array offset on value of type null in menu_node_prepare() (line 634 of /var/www/html/core/modules/menu/menu.module).
Deprecated function: strtok(): Passing null to parameter #1 ($string) of type string is deprecated in menu_node_prepare() (line 634 of /var/www/html/core/modules/menu/menu.module).
stpaultim commented 3 weeks ago

There was a problem with the code generating the demo nodes. I could not find the specific problem, but I refactored the code using some code I've been using in other recipes and it seems to have solved the problem.

https://github.com/backdrop-contrib/views_bootstrap/pull/73

@bugfolder What do you think?