Issue: Multiple / separate forms on single page

Permalink Browser Info Environment
I'm running into an issue with having mulitple forms on a single page. We have a form in the site footer (General Contact) as well in the page content area a brochure request form. Both forms use different field handles to avoid conflicts.

The submitted form appears to not do anything, but an email result is available in the dashboard. No email notification is sent. When a single form is on a page it submits correctly.

The following error appears in logs when attempting to submit either form (when a page has multiple forms on page):

Emergency | Exception Occurred: /home/eaglebuilders/public_html/packages/formidable/src/Formidable/Event.php:17 Concrete\Package\Formidable\Src\Formidable\Event::setForm(): Argument #1 ($form) must be of type Concrete\Package\Formidable\Src\Formidable\Forms\Form, null given, called in /home/eaglebuilders/public_html/packages/formidable/blocks/formidable_form/controller.php on line 422 (0)


Please advise.

Type: Ticket
Status: In Progress
edgedesign
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi,

Hmmm... could it be that the form is in a Global Area? That way we have no "page" and the event fired may crash...

So, is your form in a global area?

Best,

Corretje
edgedesign replied on at Permalink Reply
edgedesign
Correct- the footer form is located in the footer using a global area. The content form is form is within a stack.

Oddly enough, after some tinkering and debugging it appears i have both forms working now. Possibly a caching issue mixed in there too. I'm going to dig a little deeper on my end to ensure there isn't anything creating an issue.

concrete5 Environment Information

# Concrete Version
Core Version - 9.2.5
Version Installed - 9.2.5
Database Version - 20240122172319

# Hostname
can-rs30.ispcontrol.net

# Environment
production

# Database Information
Version: 10.5.24-MariaDB
SQL Mode:

# Concrete Packages
Easy Image Slider (1.4.0), Formidable (1.1.5.2), List Files From Set (1.3), Location Map (1.2.2), Open Graph Tags Lite (2.1.6), V3 Email Obfuscator (3.0.0)

# Concrete Overrides
blocks/page_list/view.php, blocks/page_list/templates/pagelist_thumbnail_3col_back/view.php, blocks/page_list/templates/pagelist_thumbnail_3col_back/view.css, blocks/page_list/templates/pagelist_thumbnail_3col_back, blocks/page_list/templates/pagelist_pillblock_swiper/view.php, blocks/page_list/templates/pagelist_pillblock_swiper/view.css, blocks/page_list/templates/pagelist_pillblock_swiper, blocks/page_list/templates/bloglist_thumbnail/view.php, blocks/page_list/templates/bloglist_thumbnail/view.css, blocks/page_list/templates/bloglist_thumbnail, blocks/page_list/templates/bloglist_swiper/view.php, blocks/page_list/templates/bloglist_swiper/view.css, blocks/page_list/templates/bloglist_swiper/_view.php, blocks/page_list/templates/bloglist_swiper/_view.css, blocks/page_list/templates/bloglist_swiper, blocks/page_list/templates, blocks/page_list/view.css, blocks/page_list, blocks/content/view.php, blocks/content/templates/no-border/view.php, blocks/content/templates/no-border, blocks/content/templates/tables/view.php, blocks/content/templates/tables/view.css, blocks/content/templates/tables, blocks/content/templates/eighty/view.php, blocks/content/templates/eighty/1ba2d7db, blocks/content/templates/eighty, blocks/content/templates/ul-li_rotator/view.php, blocks/content/templates/ul-li_rotator/view.js, blocks/content/templates/ul-li_rotator/view.css, blocks/content/templates/ul-li_rotator, blocks/content/templates/sixty/view.php, blocks/content/templates/sixty/26d5bcc3, blocks/content/templates/sixty, blocks/content/templates/fifty/1696d4fc, blocks/content/templates/fifty/view.php, blocks/content/templates/fifty, blocks/content/templates, blocks/content, blocks/image/templates/circle/view.php, blocks/image/templates/circle/view.css, blocks/image/templates/circle, blocks/image/templates, blocks/image, blocks/autonav/view.php, blocks/autonav/templates/pagebuttons/view.php, blocks/autonav/templates/pagebuttons/view.css, blocks/autonav/templates/pagebuttons, blocks/autonav/templates/view.php, blocks/autonav/templates/include_parent/view.php, blocks/autonav/templates/include_parent/view.css, blocks/autonav/templates/include_parent, blocks/autonav/templates/normal-nav/view.php, blocks/autonav/templates/normal-nav, blocks/autonav/templates/teasel-nav/view.php, blocks/autonav/templates/teasel-nav/view.css, blocks/autonav/templates/teasel-nav, blocks/autonav/templates/breadcrumb-new/view.php, blocks/autonav/templates/breadcrumb-new/view.css, blocks/autonav/templates/breadcrumb-new, blocks/autonav/templates, blocks/autonav, blocks/accordion_plus/view.php, blocks/accordion_plus/controller.php, blocks/accordion_plus/edit.php, blocks/accordion_plus/icon.png, blocks/accordion_plus/auto.js, blocks/accordion_plus/view.js, blocks/accordion_plus/old_edit.php, blocks/accordion_plus/view.css, blocks/accordion_plus/db.xml, blocks/accordion_plus/add.php, blocks/accordion_plus, blocks/feature/view.php, blocks/feature/view.css, blocks/feature, blocks/image_slider/view.php, blocks/image_slider/templates/image_as_element/view.php, blocks/image_slider/templates/image_as_element/view.css, blocks/image_slider/templates/image_as_element, blocks/image_slider/templates/image_textover/view.php, blocks/image_slider/templates/image_textover/view.css, blocks/image_slider/templates/image_textover, blocks/image_slider/templates, blocks/image_slider/view.css, blocks/image_slider, blocks/msv_location_map/view.php, blocks/msv_location_map/templates/location_list_only/view.php, blocks/msv_location_map/templates/location_list_only/edit.php, blocks/msv_location_map/templates/location_list_only/view.css, blocks/msv_location_map/templates/location_list_only/view - Copy.php, blocks/msv_location_map/templates/location_list_only, blocks/msv_location_map/templates, blocks/msv_location_map/view.css, blocks/msv_location_map, blocks/horizontal_rule/templates/left/view.php, blocks/horizontal_rule/templates/left/view.css, blocks/horizontal_rule/templates/left, blocks/horizontal_rule/templates/center/view.php, blocks/horizontal_rule/templates/center/view.css, blocks/horizontal_rule/templates/center, blocks/horizontal_rule/templates/right/view.php, blocks/horizontal_rule/templates/right/view.css, blocks/horizontal_rule/templates/right, blocks/horizontal_rule/templates, blocks/horizontal_rule, blocks/featured_page_block/view.php, blocks/featured_page_block/controller.php, blocks/featured_page_block/edit.php, blocks/featured_page_block/icon.png, blocks/featured_page_block/view.css, blocks/featured_page_block/db.xml, blocks/featured_page_block/add.php, blocks/featured_page_block/form.php, blocks/featured_page_block, blocks/feature_image_content/view.php, blocks/feature_image_content/controller.php, blocks/feature_image_content/edit.php, blocks/feature_image_content/icon.png, blocks/feature_image_content/view.css, blocks/feature_image_content/db.xml, blocks/feature_image_content/add.php, blocks/feature_image_content/form.php, blocks/feature_image_content, blocks/accordion/view.php, blocks/accordion/view.css, blocks/accordion, blocks/next_previous/view.php, blocks/next_previous/view.css, blocks/next_previous, blocks/gallery/view.php, blocks/gallery/view.css, blocks/gallery, blocks/topic_list/templates/flat_filter_new/view.php, blocks/topic_list/templates/flat_filter_new/view.css, blocks/topic_list/templates/flat_filter_new, blocks/topic_list/templates, blocks/topic_list, blocks/express_form/view.php, blocks/express_form/view.css, blocks/express_form, blocks/core_area_layout/templates/one-two-three/view.php, blocks/core_area_layout/templates/one-two-three/view.css, blocks/core_area_layout/templates/one-two-three, blocks/core_area_layout/templates/vertical_align_middle/view.php, blocks/core_area_layout/templates/vertical_align_middle/view.css, blocks/core_area_layout/templates/vertical_align_middle, blocks/core_area_layout/templates/flex_tiles/view.php, blocks/core_area_layout/templates/flex_tiles/view.css, blocks/core_area_layout/templates/flex_tiles, blocks/core_area_layout/templates, blocks/core_area_layout, blocks/file/view.php, blocks/file/view.css, blocks/file, blocks/formidable_form/view.php, blocks/formidable_form/view.js, blocks/formidable_form/view.css, blocks/formidable_form, themes/theme_eaglebuilders/page_forbidden.php, themes/theme_eaglebuilders/page_not_found.php, themes/theme_eaglebuilders/industry_landing.php, themes/theme_eaglebuilders/view.php, themes/theme_eaglebuilders/default.php, themes/theme_eaglebuilders/css/v5-font-face.min.css, themes/theme_eaglebuilders/css/swiper.min.css, themes/theme_eaglebuilders/css/nanoscroll.min.css, themes/theme_eaglebuilders/css/fontawesome.min.css, themes/theme_eaglebuilders/css/jquery.animatedheadline.css, themes/theme_eaglebuilders/css/main.css, themes/theme_eaglebuilders/css/nav.css, themes/theme_eaglebuilders/css/print.css, themes/theme_eaglebuilders/css/all.min.css, themes/theme_eaglebuilders/css, themes/theme_eaglebuilders/home.php, themes/theme_eaglebuilders/js/swiper.min.js, themes/theme_eaglebuilders/js/jquery.min.js, themes/theme_eaglebuilders/js/bootstrap.min.js, themes/theme_eaglebuilders/js/scripts.min.js, themes/theme_eaglebuilders/js/menu.min.js, themes/theme_eaglebuilders/js/jquery.animatedheadline.min.js, themes/theme_eaglebuilders/js/nanoscroll.min.js, themes/theme_eaglebuilders/js/minify.js, themes/theme_eaglebuilders/js/respond.min.js, themes/theme_eaglebuilders/js/jquery.sticky.min.js, themes/theme_eaglebuilders/js, themes/theme_eaglebuilders/composer.json, themes/theme_eaglebuilders/webfonts/fa-brands-400.woff2, themes/theme_eaglebuilders/webfonts/fa-solid-900.ttf, themes/theme_eaglebuilders/webfonts/fa-solid-900.woff2, themes/theme_eaglebuilders/webfonts/fa-v4compatibility.ttf, themes/theme_eaglebuilders/webfonts/fa-brands-400.ttf, themes/theme_eaglebuilders/webfonts/fa-v4compatibility.woff2, themes/theme_eaglebuilders/webfonts/fa-regular-400.woff2, themes/theme_eaglebuilders/webfonts/fa-regular-400.ttf, themes/theme_eaglebuilders/webfonts, themes/theme_eaglebuilders/elements/header.php, themes/theme_eaglebuilders/elements/footer.php, themes/theme_eaglebuilders/elements, themes/theme_eaglebuilders/page_theme.php, themes/theme_eaglebuilders/full.php, themes/theme_eaglebuilders/thumbnail.png, themes/theme_eaglebuilders/images/eb--logo-h.png, themes/theme_eaglebuilders/images/eb--icon.ico, themes/theme_eaglebuilders/images/eb--edge-g.png, themes/theme_eaglebuilders/images/eb--logo-s-w.png, themes/theme_eaglebuilders/images/eb--agricultural_banner-01.jpg, themes/theme_eaglebuilders/images/eb--banner-footer.jpg, themes/theme_eaglebuilders/images/eb-up-arrow_r.png, themes/theme_eaglebuilders/images/eb-up-arrow.png, themes/theme_eaglebuilders/images/eb--emboss-eagle.png, themes/theme_eaglebuilders/images/eb--icon.png, themes/theme_eaglebuilders/images/eb--banner-concrete.jpg, themes/theme_eaglebuilders/images/eb-dwn-arrow.png, themes/theme_eaglebuilders/images/eb--logo-h-w.png, themes/theme_eaglebuilders/images/eb--logo-s.png, themes/theme_eaglebuilders/images/eb-dwn-arrow_r.png, themes/theme_eaglebuilders/images/eg--feature--vamplew-farms_01.jpg, themes/theme_eaglebuilders/images/eb--edge-b.webp, themes/theme_eaglebuilders/images/eb--edge-b.png, themes/theme_eaglebuilders/images/eb--agricultural_banner-02.jpg, themes/theme_eaglebuilders/images/_eb--edge-g.webp, themes/theme_eaglebuilders/images/eb--edge-g.webp, themes/theme_eaglebuilders/images/_eb--edge-b.webp, themes/theme_eaglebuilders/images, themes/theme_eaglebuilders/right_sidebar.php, themes/theme_eaglebuilders/fonts/Brother1816-Regular.woff2, themes/theme_eaglebuilders/fonts/Brother1816-Regular.woff, themes/theme_eaglebuilders/fonts/Brother1816-Bold.woff2, themes/theme_eaglebuilders/fonts/Brother1816-ExtraBold.woff, themes/theme_eaglebuilders/fonts/Brother1816-Bold.woff, themes/theme_eaglebuilders/fonts/Brother1816-ExtraBold.woff2, themes/theme_eaglebuilders/fonts, themes/theme_eaglebuilders

# Concrete Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Database Entities Settings
Doctrine Development Mode - Off

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
8.1.27

# PHP Extensions
bcmath, bz2, calendar, clos_ssa, Core, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, i360, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 600
max_input_vars - 10000
max_multipart_body_parts - -1
memory_limit - 512M
post_max_size - 128M
upload_max_filesize - 128M
zend.exception_string_param_max_len - 15
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 4000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 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.