Rich Stevens
Rich Stevens

Reputation: 609

Drupal 7 panel content prints the word 'Array' instead of my field and body content

I am using Drupal 7 with panels. When I place content into my panel it just prints the word 'Array' out instead of the content. This seems to happen with the fields I created and also the main body content as well. Does anyone know how I can fix this at all? Thanks in advance for any information.

Upvotes: 1

Views: 615

Answers (1)

Muhammad Reda
Muhammad Reda

Reputation: 27053

Apply render to the output to print the HTML.

print render($variable);

Upvotes: 1

Related Questions