Grid Not Working Since Update
-
Hi,
Since updating, my grid stopped working properly. If I look in my settings for my form, it shows that I should have 3 lines in my form:
[Your website URL or Company Name]
[Your Name] [Your Email] [Your Phone Number]
[Submit]But on my homepage, each text area takes up one line each and is full width, instead of having a 1/6th column offset like I have it set up on the backend.
How do I fix this?
The page I need help with: [log in to see the link]
-
are you using the latest version?
How do I fix this?
for some reason the plugin does not recognise your form as using the grid layout editor.
Can you edit your form in your dashboard and simply save it again (‘update’), this will refresh the meta data for the form and the plugin should now recognise it and load the required stylesheets to display your rows and columns properly.
when you edit your form, is the ‘Grid’ tab disabled in your editor ?
I’m not sure if it’s disabled. Please see a screenshot here: https://figuredmedia.com/wp-content/uploads/2020/09/formscreen.png
And yes, my plugin is up-to-date. This issue started the moment I updated.
-
This reply was modified 5 years, 8 months ago by
lenakay.
Please see a screenshot here:
your grid editor is not being loaded properly, this is due to a javascript error on your admin page. Can you inspect your page and report any javascript errors in your concole
Hello,
I’v the same sort of problem since update, but with a fatal error causing my site to break. I have deactivated the plugin therefore the site shows again but not the forms (which are essential to my site).
Btw, nothing shows in the console.
Thanks.
Do you want me to open a separated thread ?Fatal error: Uncaught Error: Call to a member function prop() on bool in /homepages/22/d583955658/htdocs/CryoV2/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:366 Stack trace: #0 /homepages/22/d583955658/htdocs/CryoV2/wp-includes/class-wp-hook.php(289): Cf7_Grid_Layout_Public->cf7_shortcode_request(‘[contact-form-7…’, ‘contact-form-7’, Array) #1 /homepages/22/d583955658/htdocs/CryoV2/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘[contact-form-7…’, Array) #2 /homepages/22/d583955658/htdocs/CryoV2/wp-includes/shortcodes.php(355): apply_filters(‘do_shortcode_ta…’, ‘[contact-form-7…’, ‘contact-form-7’, Array, Array) #3 [internal function]: do_shortcode_tag(Array) #4 /homepages/22/d583955658/htdocs/CryoV2/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(contac…’, ‘do_shortcode_ta…’, ‘[contact-form-7…’) #5 /homepages/22/d583955658/htdocs/CryoV2/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(2265): do_shortcode(‘[contact-form-7…’) #6 /home in /homepages/22/d583955658/htdocs/CryoV2/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 366
-
This reply was modified 5 years, 8 months ago by
xtof_r.
In Firefox, it says:
SyntaxError: invalid regexp group cf7-grid-codemirror.js:1:1In Chrome, it says:
DevTools failed to load SourceMap: Could not load content for https://figuredmedia.com/wp-content/plugins/cf7-grid-layout/assets/css.gs/smart-grid.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILUREDevTools failed to load SourceMap: Could not load content for chrome-extension://eakacpaijcpapndcfffdgphdiccmpknp/scripts/content_page.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEMESyntaxError: invalid regexp group cf7-grid-codemirror.js:1:1
@lenakay this is strange, it is possible that some files have been corrupted during yuor last update. Can you download the plugin and re-install it to see if the errors are fixed?
In Chrome, it says:
this is specific to Chrome and not related to the plugin.
I’ve tried deleting both the Contat Form 7 and the Grid plug-ins multiple times. I also tried downgrading to different versions of both plug-ins and still, I get the same issue.
Could it be that the current version of WordPress is conflicting with it?
that’s rather odd indeed.
Could it be that the current version of WordPress is conflicting with it?
no, I run the latest WP version on my test server without any issues.
Can you reach out to me on vrata at syllogic dot in
I can confirm I’m having the same issue, using Safari in this case.
Error when editing a form in cf7-grid-codemirror.js:
SyntaxError: Invalid regular expression: invalid group specifier name
The error is about this line (line 255 apparently):
regex = /(?<=\/\*)(.*?)(?=\s?\*\/)/im;
Using these plugins (for completeness’ sake):
- CF7 5.2.2
- CF7 Smart Grid extension 4.1.2
- CF7 Conditional fields 1.9.11
- CF7 Polylang 2.3.2
-
This reply was modified 5 years, 8 months ago by
davidjennes.
-
This reply was modified 5 years, 8 months ago by
davidjennes.
interesting, then it must be a javascript version issue as my browser (Firefox v80.0.1) does not complain.
I just checked my version, I am running Javascript 1.6
can you let me know what version your browser is running.
I just updated the plugin to v4.1.3 and changed the regex, should work now
Updated to 4.1.4, now getting the same regex error (invalid group specifier name) for another line (354)
helper = helper.replace(/^\n?\s*?\/\/.*\n?/gmi,”).replace(/(?<=.*)\n$/
I’m using Safari 13.1.2 on macOS 10.15.6. The JS version according to that JSFiddle is 1.7. Did a quick check in Firefox (80.0.1) and everything works there.
-
This reply was modified 5 years, 8 months ago by
davidjennes.
@davidjennes please start a new thread with the title,
Safari browser javascript rejex error
and report it there so other can find the problem when searching the forum.
-
This reply was modified 5 years, 8 months ago by
The topic ‘Grid Not Working Since Update’ is closed to new replies.