I am getting an error when I try to use the id field of the sidebarMenu() (e.g. in UI, sidebarMenu(id = "side_menu")) for its input value (e.g. in server, use updateTabItems(session, "side_menu", newtab)), my app server crashes. Browser inspector returns these errors (full stack trace and session info at the bottom of the issue):
Error 1
Uncaught TypeError: Cannot read property 'side_menu' of undefined
If I understand well, it seems that the "side_menu" id is not recognized properly among the input slots.
Error 2
Uncaught TypeError: Cannot read property 'sidebarCollapsed' of undefined
Well, I do not understand this one, but its call traceback is the same as the first error.
Error 3
Uncaught TypeError: Cannot read property 'normalCall' of undefined
This one might as well be related to basic {shiny} but since I got errors related to {shinydashboard} I preferred to adress them here.
Badly, I do not succeed in reproducing the issue in a reprex since my app is quite a large one and reducing to basic examples result in expected behaviors.
Stack traces
For error 1:
at InputNoResendDecorator.setInput (input_rate.js:238)
at InputEventDecorator.setInput (input_rate.js:292)
at InputRateDecorator.$doSetInput (input_rate.js:337)
at Invoker.normalCall.immediateCall (input_rate.js:12)
at InputRateDecorator.setInput (input_rate.js:315)
at InputValidateDecorator.setInput (input_rate.js:374)
at m (init_shiny.js:127)
at init_shiny.js:163
at HTMLDivElement.<anonymous> (input_binding_tabItem.js:40)
at HTMLDivElement.dispatch (jquery.min.js:2)
For error 2:
at InputNoResendDecorator.setInput (input_rate.js:238)
at InputEventDecorator.setInput (input_rate.js:292)
at InputRateDecorator.$doSetInput (input_rate.js:337)
at Invoker.normalCall.immediateCall (input_rate.js:12)
at InputRateDecorator.setInput (input_rate.js:315)
at InputValidateDecorator.setInput (input_rate.js:374)
at m (init_shiny.js:127)
at init_shiny.js:163
at HTMLElement.<anonymous> (input_binding_sidebarCollapsed.js:33)
at HTMLElement.dispatch (jquery.min.js:2)
For error 3:
at x (init_shiny.js:447)
Here, I get this error two times, one with at x (line 447) and one with at v (line 380)
Error 3 seems to be unrelated to {shindydashboard}. I switched to {shinymaterial} to (successfully) remove some errors but these ones kept being raised.
I am getting an error when I try to use the
id
field of thesidebarMenu()
(e.g. in UI,sidebarMenu(id = "side_menu")
) for its input value (e.g. in server, useupdateTabItems(session, "side_menu", newtab)
), my app server crashes. Browser inspector returns these errors (full stack trace and session info at the bottom of the issue):Error 1
If I understand well, it seems that the "side_menu" id is not recognized properly among the
input
slots.Error 2
Well, I do not understand this one, but its call traceback is the same as the first error.
Error 3
This one might as well be related to basic {shiny} but since I got errors related to {shinydashboard} I preferred to adress them here.
Badly, I do not succeed in reproducing the issue in a reprex since my app is quite a large one and reducing to basic examples result in expected behaviors.
Stack traces
For error 1:
For error 2:
For error 3:
Here, I get this error two times, one with
at x
(line 447) and one withat v
(line 380)Session info
Session info (click to expand)
``` > sessionInfo() R version 3.6.3 (2020-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0 locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=fr_FR.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=fr_FR.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] MetaShARK_0.0.0.9000 shinydashboard_0.7.1 shiny_1.5.0 testthat_2.3.2 loaded via a namespace (and not attached): [1] uuid_0.1-4 backports_1.1.8 plyr_1.8.6 lazyeval_0.2.2 [5] jqr_1.1.0 crosstalk_1.1.0.1 leaflet_2.0.3 usethis_1.6.1 [9] urltools_1.7.3 digest_0.6.25 foreach_1.5.0 htmltools_0.5.0 [13] rsconnect_0.8.16 gdata_2.18.0 fansi_0.4.1 magrittr_1.5 [17] emldown_0.0.5 emld_0.5.0 config_0.3 rorcid_0.6.4 [21] remotes_2.1.1 shinyFiles_0.8.0 ArgumentCheck_0.10.2 prettyunits_1.1.1 [25] datapack_1.3.2 xfun_0.15 dplyr_1.0.0 callr_3.4.3 [29] crayon_1.3.4 RCurl_1.98-1.2 jsonlite_1.7.0 roxygen2_7.1.1 [33] shinyTree_0.2.7 zoo_1.8-8 iterators_1.0.12 ape_5.4 [37] glue_1.4.1 hash_2.2.6.1 V8_3.2.0 pkgbuild_1.1.0 [41] redland_1.0.17-11 bibtex_0.4.2.2 Rcpp_1.0.5 xtable_1.8-4 [45] parsedate_1.2.0 bold_1.1.0 readtext_0.76 DT_0.14 [49] htmlwidgets_1.5.1 httr_1.4.1 shinyAce_0.4.1 ellipsis_0.3.1 [53] dockerfiler_0.1.3 pkgconfig_2.0.3 reshape_0.8.8 XML_3.99-0.3 [57] EMLassemblyline_2.12.4 EML_2.0.2 here_0.1 conditionz_0.1.0 [61] crul_0.9.0 tidyselect_1.1.0 rlang_0.4.7 later_1.1.0.1 [65] tools_3.6.3 cli_2.0.2 generics_0.0.2 dataone_2.1.4 [69] evaluate_0.14 cedarr_0.0.0.9000 shinyBS_0.61 stringr_1.4.0 [73] fastmap_1.0.1 yaml_2.2.1 RefManageR_1.2.12 processx_3.4.3 [77] knitr_1.29 fs_1.4.2 jsonld_2.2 shinycssloaders_0.3 [81] purrr_0.3.4 packrat_0.5.0 nlme_3.1-148 whisker_0.4 [85] mime_0.9 taxize_0.9.97 xml2_1.3.2 compiler_3.6.3 [89] rstudioapi_0.11 curl_4.3 tibble_3.0.3 stringi_1.4.6 [93] ps_1.3.3 desc_1.2.0 lattice_0.20-41 markdown_1.1 [97] shinyjs_1.1 vctrs_0.3.2 pillar_1.4.6 lifecycle_0.2.0 [101] triebeard_0.3.0 data.table_1.12.8 bitops_1.0-6 httpuv_1.5.4 [105] R6_2.4.1 tagsinput_0.1.0 promises_1.1.1 codetools_0.2-16 [109] gtools_3.8.2 assertthat_0.2.1 pkgload_1.1.0 golem_0.2.1 [113] rprojroot_1.3-2 withr_2.2.0 httpcode_0.3.0 parallel_3.6.3 [117] grid_3.6.3 taxonomyCleanr_1.3.0 fauxpas_0.5.0 rmarkdown_2.3 [121] attempt_0.3.1 lubridate_1.7.9 base64enc_0.1-3 ```