'PHP message: TypeError: array_merge(): Argument #1 must be of type array, string given in /var/
www/html/web/themes/contrib/bulma/bulma.theme on line 230 #0 /var/www/html/web/themes/contrib/bulma/bulma.theme(230): array_merge('node-revision-t...', Array)\n#1 [internal function]: bulma_preprocess_tabl
e(Array, 'table', Array)\n#2 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(287): call_user_func_array('bulma_preproces...', Array)\n#3 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer
.php(433): Drupal\\Core\\Theme\\ThemeManager->render('table', Array)\n#4 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\\Core\\Render\\Renderer->doRender(Array)\n#5 /var/www/html/w
eb/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\\Core\\Render\\Renderer->doRender(Array, false)\n#6 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\\Core\\R
ender\\Renderer->render(Array, false)\n#7 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\\Co...'
CommentFileSizeAuthor
#2 bulma-string_to_array-3355251-2.patch464 byteselkaro

Comments

lelkneralfaro created an issue. See original summary.

elkaro’s picture

StatusFileSize
new464 bytes
elkaro’s picture

Status: Active » Needs review
mlncn’s picture

Status: Needs review » Reviewed & tested by the community

Something is giving us something it shouldn't, the string instead of classes an array, but this fix is harmless.

Curious if what you were receiving was properly a class or some garbage though?

  • mlncn committed 525223a7 on 3.0.x authored by lelkneralfaro
    Issue #3355251 by lelkneralfaro, mlncn: Prepocess table throws error if...
mlncn’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in the 3.0.x branch for now; this would be safe to re-base or cherry-pick back to 8.x-1.x

(I have no idea what the 2.x branch is but should probably figure that out)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.