Title: Error on certain pages
Last modified: August 14, 2020

---

# Error on certain pages

 *  Resolved [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/)
 * Hello..
    First thank you very much for the plugin. I had installed it on my site
   which I was developing along with Contact Form 7. But I suddenly get this error
   on some pages:
 *     ```
       Need to Make an Enquiry?
       There has been a critical error on your website. Please check your site admin email inbox for instructions.
   
       Learn more about debugging in WordPress.
       ```
   
 * I checked error log and saw this with today’s date:
 *     ```
       [14-Aug-2020 06:32:45 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prop() on null in /home/.../wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:332
       Stack trace:
       #0 /home/.../wp-includes/class-wp-hook.php(289): Cf7_Grid_Layout_Public->cf7_shortcode_request('[contact-form-7...', 'contact-form-7', Array)
       #1 /home/.../wp-includes/plugin.php(206): WP_Hook->apply_filters('[contact-form-7...', Array)
       #2 /home/.../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 /home/.../wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(contac...', 'do_shortcode_ta...', '[contact-form-7...')
       #5 /home/.../wp-content/themes/../contact-forms/cs_layout2.php(47): do_shortcode('[contact-form-7...')
       #6 /home/.../wp-content/p in /home/.../wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 332
       ```
   
 * I am not sure if the error is related to CF7 plugin.. (apologies if it isn’t)
   but it goes away once I deactivate the plugin.
    Strangely this error only happens
   on some pages. I am just starting on with my site. Only the homepage is done 
   which shows no errors. But when I click on some other pages to edit (with elementor)
   this error comes up. I’m not a WordPress expert.. Kindly help if you can. Thanks
   a lot. I disable
    -  This topic was modified 5 years, 9 months ago by [wpusr1](https://wordpress.org/support/users/wpusr1/).

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/error-on-certain-pages/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-on-certain-pages/page/2/?output_format=md)

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13255165)
 * can you tell me which version of PHP, WordPress, and the plugin you have installed
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13255246)
 * I’m sorry for not including those details.
    PHP version: 7.0.33 Wordpress 5.4.2
   Elementor 2.9.14 Contact form 7 5.2.1 CF7 Smart Grid Extension 3.3.5 Couple other
   plugins are there like WP table builder etc.. Not sure if you want those.. Please
   let me know. Thanks!
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13255921)
 * so this error is not directly related to the plugin, and is likely due to some
   setup error.
 * The CF7 form is likely being corrupted as a result of memory issue possibly.
 * You could try to [increase the memory limit](https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/)
   on your installation and see if it fixes the issue.
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13256069)
 * Thank you.. Will check and get back. Thanks again.
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13256302)
 * I increased the WP_MEMORY_LIMIT to 256M.
    I’m afraid no change in the result,
   the message still appears. Thanks.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13259844)
 * I have made some changes to the way the CF7 form object is retrieved in the newly
   released v3.3.6. Can you update and let me know if it fixes your issue?
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13260695)
 * Sure.. will do, thanks.
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13260704)
 * But I already have installed 3.3.6.
    Just install again over ? Please let me 
   know.. thanks.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13260741)
 * > But I already have installed 3.3.6.
 * are you still getting the error?
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13260792)
 * Yes..
 *     ```
       Need to Make an Enquiry?
   
       Fatal error: Uncaught Error: Call to a member function prop() on bool in /home/.../wp-content/plugins/cf7-grid-layout-bk/public/class-cf7-grid-layout-public.php:351 Stack trace: #0 /home/.../wp-includes/class-wp-hook.php(289): Cf7_Grid_Layout_Public->cf7_shortcode_request('[contact-form-7...', 'contact-form-7', Array) #1 /home/.../wp-includes/plugin.php(206): WP_Hook->apply_filters('[contact-form-7...', Array) #2 /home/.../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 /home/.../wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(contac...', 'do_shortcode_ta...', '[contact-form-7...') #5 /home/.../wp-content/themes/moovit/aheto/contact-forms/cs_layout2.php(47): do_shortcode('[contact-form-7...') #6 /home/.../wp-conten in /home/.../wp-content/plugins/cf7-grid-layout-bk/public/class-cf7-grid-layout-public.php on line 351
       There has been a critical error on your website. Please check your site admin email inbox for instructions.
   
       Learn more about debugging in WordPress.
       ```
   
 * Thanks..
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13260893)
 * > Strangely this error only happens on some pages.
 * so one way this can happen is if you use outdated cf7 form shortcodes on your
   pages.
 * An oudated shortcode can happen when you change the cky form unique key but you
   are still using the previous key.
 * The pages where you are getting the error I suggest that you copy the shortcode
   as it appears in the cf7 admin table and paste it again in the page.
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13260947)
 * I’m sorry for not making myself clear.. those pages doesn’t have the plugin used.
   
   But the error message contains the plugin name. So it may not be a plugin related
   issue? I will copy the updated shortcode and let you know. Thank you..
    -  This reply was modified 5 years, 9 months ago by [wpusr1](https://wordpress.org/support/users/wpusr1/).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13261190)
 * > those pages doesn’t have the plugin used.
 * well the plugin page would only be called if a cf7 shortcode is being displayed
   on the page (either in the main content, as a widget in the sidebar or footer).
 * if You look at your error,
 * >  Fatal error: Uncaught Error: Call to a member function prop() on bool in /
   > home/…/wp-content/plugins/cf7-grid-layout-bk/public/class-cf7-grid-layout-public.
   > php:351
   >  Stack trace: #0 /home/…/wp-includes/class-wp-hook.php(289): Cf7_Grid_Layout_Public-
   > >cf7_shortcode_request(‘[contact-form-7…’, ‘contact-form-7’, Array) #1 /home/…/
   > wp-includes/plugin.php(206): WP_Hook->apply_filters(‘[contact-form-7…’, Array)#
   > 2 /home/…/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 /home/…/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(
   > contac…’, ‘do_shortcode_ta…’, ‘[contact-form-7…’) #5 /home/…/wp-content/themes/
   > moovit/aheto/contact-forms/cs_layout2.php(47): do_shortcode(‘[contact-form-
   > 7…’) #6 /home/…/wp-conten in /home/…/wp-content/plugins/cf7-grid-layout-bk/
   > public/class-cf7-grid-layout-public.php on line 351 There has been a critical
   > error on your website. Please check your site admin email inbox for instructions.
 * the entire stack trace is referring to the ‘contact-form-7’ shortcode, right 
   from the WP core files themselves….so yes, defeinitely a cf7 form shortcode is
   being called and I reckon it is outdated. Hence the error.
 *  Thread Starter [wpusr1](https://wordpress.org/support/users/wpusr1/)
 * (@wpusr1)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13261313)
 * Thank you for your time and patience.
    I will remove the contact-form-7 plugin
   and reinstall along with CF7 Smart Grid Extension and check. Will keep you posted.
   Thanks again..
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-on-certain-pages/#post-13266496)
 * sure. I will try in the next major release (v4.0 currenlty under development)
   to provide a more robust way to handle outdated shortcodes with a clean warning
   mechanism.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/error-on-certain-pages/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-on-certain-pages/page/2/?output_format=md)

The topic ‘Error on certain pages’ is closed to new replies.

 * ![](https://ps.w.org/cf7-grid-layout/assets/icon-256x256.png?rev=1834229)
 * [Smart Grid-Layout Design for Contact Form 7](https://wordpress.org/plugins/cf7-grid-layout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-grid-layout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-grid-layout/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-grid-layout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-grid-layout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-grid-layout/reviews/)

 * 20 replies
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/error-on-certain-pages/page/2/#post-13441884)
 * Status: resolved