Error Msg

Solved Technical Support
  • Any idea what this error message means?

    2018-03-19T04:36:48.660Z [14464] - error: /user/stuart/best
     Error: Failed to lookup view "widgets/forumstats" in views directory "/var/www/html/community/build/public/templates"
        at Function.render (/var/www/html/community/node_modules/express/lib/application.js:580:17)
        at /var/www/html/community/node_modules/nodebb-widget-essentials/library.js:209:7
        at /var/www/html/community/node_modules/async/dist/async.js:3874:9
        at /var/www/html/community/node_modules/async/dist/async.js:473:16
        at iterateeCallback (/var/www/html/community/node_modules/async/dist/async.js:980:24)
        at /var/www/html/community/node_modules/async/dist/async.js:958:16
        at Command.callback (/var/www/html/community/node_modules/async/dist/async.js:3871:13)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis-parser/lib/parser.js:574:12)
        at Socket.<anonymous> (/var/www/html/community/node_modules/redis/index.js:274:27)
        at emitOne (events.js:115:13)
        at Socket.emit (events.js:210:7)
        at addChunk (_stream_readable.js:252:12)
        at readableAddChunk (_stream_readable.js:239:11)
        at Socket.Readable.push (_stream_readable.js:197:10)
        at TCP.onread (net.js:589:20)
    
  • @michael-pfaff it means that the server tried to find build/public/templates/widgets/forumstats.tpl but it wasn't there.

    This can occur if the build step wasn't run after activation of a plugin/widget/theme, or if it failed to copy the template file correctly, or if the plugin/widget/theme didn't have the file to begin with.

  • @pitaj said in Error Msg:

    @michael-pfaff it means that the server tried to find build/public/templates/widgets/forumstats.tpl but it wasn't there.

    This can occur if the build step wasn't run after activation of a plugin/widget/theme, or if it failed to copy the template file correctly, or if the plugin/widget/theme didn't have the file to begin with.

    So, solution is:

    Deactivate. Delete widget plugin. Reset plugin. Reinstall?

  • @michael-pfaff well first, try ./nodebb stop && ./nodebb build && ./nodebb start. Then you can try reinstalling the widget.

  • @pitaj said in Error Msg:

    @michael-pfaff well first, try ./nodebb stop && ./nodebb build && ./nodebb start. Then you can try reinstalling the widget.

    Great. Thanks! I'll try that.

  • Basically had to delete everything and build from ground up.


Suggested Topics