smbjorklund / cellproject

Consortium on Electronic Literature (CELL) Drupal installation
http://cellproject.net
0 stars 0 forks source link

Creating new content - Template preprocessing warning #25

Closed steinmb closed 3 years ago

steinmb commented 3 years ago

The theme generate this warning when you try to create new content /node/add

Notice: Trying to get property 'type' of non-object in centum_preprocess_page() (line 74 of template.php).

Suggested fix

Better/stricter checking/guard clauses in template preprocess code.

steinmb commented 3 years ago

@deheckman - General theme cleanup of theme preprocessing seems to take care of this issue. Closing.

commit smbjorklund/centum@6b6bfcac53ac9e380a0f040d02c367906a92be33 (HEAD -> master, origin/master, origin/HEAD) Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 20:48:20 2020 +0100

Centum theme strict checks

commit smbjorklund/centum@c88f755e72d0ffbc865861ad8e1f0386907c6e20 Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 20:43:35 2020 +0100

Centum theme reduce complexity

commit smbjorklund/centum@584d36a34a88c17953c5eb7f89994dba3231ae22 Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 20:25:03 2020 +0100

Centum theme reduce complexity no needed variables

commit smbjorklund/centum@d456f9e2e4f75c22d631508b7c7ef85b6bd3edd5 Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 20:22:27 2020 +0100

Centum theme reduce complexity

commit smbjorklund/centum@62bfa49fc0de93f6d6f42575317f9180ea11e1af Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 20:15:53 2020 +0100

Centum theme reformatting and short syntax

- Remove silly comments.

commit smbjorklund/centum@d7eaf94bc07dd1e581e37ad50def0586400c5710 Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 20:09:15 2020 +0100

Centum theme reformatting and short syntax

commit smbjorklund/centum@52f2806819584cb3433b70f0f0e7285a494a3da4 Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 20:04:02 2020 +0100

Centum theme reformatting

commit smbjorklund/centum@d69bdcd14194e99e45a90651449e45279060f732 Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Thu Dec 10 19:37:11 2020 +0100

Centum theme reformatting