• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

benchpress warning (@value)

Scheduled Pinned Locked Moved Technical Support
3 Posts 2 Posters 293 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tyler Durden
    wrote on last edited by
    #1

    I'm use nodebb 1.15.2 and have this error by benchpress in ACP with plugin Poll and 2FA.

    [benchpress] warning: keyword outside an interpolation token is deprecated
    
    
    
    poll/creator.tpl:13:74
    partials/2factor/generateBackupCodes.tpl:11:32
    
    help: wrap this in curly braces: '{@value}'
    note: this will become an error in the v3.0.0
    

    How fix it?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    It's just a warning, you can ignore it. You'll only see it during builds.

    You can open an issue on the respective plugins' GitHub repos to tell them about this.

    1 Reply Last reply
    0
  • T Offline
    T Offline
    Tyler Durden
    wrote on last edited by
    #3

    This error have official NodeBB plugin by @julian
    https://github.com/NodeBB/nodebb-plugin-poll
    https://github.com/julianlam/nodebb-plugin-2factor

    Not work generate backup codes.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development