Error in View template

Permalink Browser Info Environment
I am testing a form with two fields: a text field and a field of type "file from file manager".
When I create a view template with this form, I want the name to display on one line and the URL to the file to display on the next line. When I add the formify view block to a new, blank page and connect it to this form I get the error:
"Method Concrete\Package\Formify\Src\FormifyTemplateObject::__toSTring() must return a string value"
If I remove the file upload field and modify the template not to display it, i get the same error. However, on forms that have only simple text fields, I do not see this error at all. This makes me think the issue is with the file field. Is that the issue, and if so How can I display the path to a selected file in a Formify view template?

I have posted this question to the Slack channel and haven't seen an answer there.

Type: Ticket
Status: Archived
mmsd
View Replies:
PhilYoung replied on at Permalink Reply 1 Attachment
PhilYoung
Hi,
I cant replicate your error running the same C5 8.3.2 as you. See attached screenshot of form and view template below..

Can you share your template?

Best
Phil
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
ExchangeCore reCAPTCHA (1.1.1), Formify (3.1), Video Lightbox (1.8.7), Whale Responsive Tables (1.0.3)

# concrete5 Overrides
blocks/page_list/templates/events _list/view.js, blocks/page_list/templates/events _list/view.php, blocks/page_list/templates/events _list/view.css, blocks/page_list/templates/events _list, blocks/page_list/templates/projects_interior/view.php, blocks/page_list/templates/projects_interior/view.css, blocks/page_list/templates/projects_interior, blocks/page_list/templates/green_strategies/view.php, blocks/page_list/templates/green_strategies, blocks/page_list/templates/projects_green_interior/view.php, blocks/page_list/templates/projects_green_interior, blocks/page_list/templates/projects/view.php, blocks/page_list/templates/projects, blocks/page_list/templates/events-interior/view.php, blocks/page_list/templates/events-interior, blocks/page_list/templates/green_strategies_interior/view.php, blocks/page_list/templates/green_strategies_interior, blocks/page_list/templates/events-footer/view.php, blocks/page_list/templates/events-footer, blocks/page_list/templates/green_projects/view.php, blocks/page_list/templates/green_projects, blocks/page_list/templates/events/view.php, blocks/page_list/templates/events, blocks/page_list/templates, blocks/page_list, blocks/autonav/templates/sidebar_nav/view.php, blocks/autonav/templates/sidebar_nav, blocks/autonav/templates/top_header_nav/view.js, blocks/autonav/templates/top_header_nav/view.php, blocks/autonav/templates/top_header_nav/view.css, blocks/autonav/templates/top_header_nav, blocks/autonav/templates/footer_nav/view.php, blocks/autonav/templates/footer_nav, blocks/autonav/templates/fresh_breadcrumb.php, blocks/autonav/templates, blocks/autonav, themes/freshcoast/page_forbidden.php, themes/freshcoast/page_not_found.php, themes/freshcoast/js/popper.min.js, themes/freshcoast/js/bootstrap.min.js, themes/freshcoast/js/app.js, themes/freshcoast/js, themes/freshcoast/elements/header.php, themes/freshcoast/elements/footer.php, themes/freshcoast/elements, themes/freshcoast/blank.php, themes/freshcoast/description.txt, themes/freshcoast/thumbnail.png, themes/freshcoast/home.php, themes/freshcoast/interior_residential.php, themes/freshcoast/interior_events_entry.php, themes/freshcoast/interior_events.php, themes/freshcoast/view.php, themes/freshcoast/default.php, themes/freshcoast/page_theme.php, themes/freshcoast/full_no_breadcrumb.php, themes/freshcoast/images/texture2.jpg, themes/freshcoast/images/texture.jpg, themes/freshcoast/images, themes/freshcoast/interior_take_action.php, themes/freshcoast/css/bootstrap.min.css, themes/freshcoast/css/editmode.css, themes/freshcoast/css/logged.css, themes/freshcoast/css/bootstrap-grid.min.css, themes/freshcoast/css/docs.css, themes/freshcoast/css/bootstrap-reboot.css, themes/freshcoast/css/overwrites.css, themes/freshcoast/css, themes/freshcoast/full.php, themes/freshcoast

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.36

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend Guard Loader, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 1000
memory_limit - 1024M
post_max_size - 100M
sql.safe_mode - Off
upload_max_filesize - 100M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.