Pages: Array ? warning: htmlspecialchars() expects parameter 1 to be string
Acert93 - June 27, 2006 - 12:00
| Project: | Book Review |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello,
First I would like to say thanks for creating a cool module that is very useful!
My problems:
1. I get the following error when trying to edit a Bookreview:
warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/fputnam/public_html/includes/bootstrap.inc on line 599.
2. In the pages field it keeps showing "Array". I am putting a # (e.g. 777) in the field but "Array" keeps appearing in the finalized field.
3. The author box (in General Information) is not fully visible (may be a IE error; have not had time to test in FF)
And a small Q: The URL for off site links is segmented into two conjioned fields. What is the exact purpose of this?

#1
Is anyone else experiencing an issue where pages wont show up and it just shows "array"?
#2
'pages' as a variable name crashes with something else (absolutely no idea what). I've just changed every the name of the field to 'nopages' and it works fine now. If you do that, you'll need to change it various times in bookreview.module, and couple of time in bookreview.install (if you haven't installed it already), and once in your SQL database (if you have installed it already).