austins / Vanilla-App-Articles

Provides a way to publish articles with Vanilla Forums.
https://open.vanillaforums.com/addon/articles-application
GNU General Public License v2.0
11 stars 2 forks source link

Undefined variable/property errors in debug mode #30

Closed 0xC4N1 closed 9 years ago

0xC4N1 commented 9 years ago

There are various undefined variable and property errors in debug mode on the following pages:

new article page:

Undefined variable: Author applications/article/controllers/class.composecontroller.php line 233. library/core/class.dispatcher.php line 350. index.php line 46. Undefined variable: Preview applications/articles/controllers/class.composecontroller.php line 360. library/core/class.dispatcher.php line 350. index.php line 46. Undefined property: ComposeController::$Category applications/articles/views/compose/article.php line 25. library/core/class.controller.php line 779. library/core/class.controller.php line 1245

profile page:

Undefined index: AuthorDisplayName applications/articles/settings/class.hooks.php line 544. library/core/class.pluginmanager.php line 705. library/core/class.pluginmanager.php line 638. library/core/class.pluggable.php line 144.

edit profile page

Undefined index: Articles.AuthorDisplayName applications/articles/settings/class.hooks.php line 509. library/core/class.pluginmanager.php line 705. library/core/class.pluginmanager.php line 638. library/core/class.pluggable.php line 144. Undefined index: Articles.AuthorBio applications/articles/settings/class.hooks.php line 510. library/core/class.pluginmanager.php line 705. library/core/class.pluginmanager.php line 638. library/core/class.pluggable.php line 144.

The errors on edit profile page seem to be disappearing when you've filled the AuthorDisplayName form.

austins commented 9 years ago

Closed by 1792f4ef08ac95c62f770f2c690e20120ea37d23.