Skip Navigation

[Resolved] I'm getting a fatal error when trying to use the Views Filter widget.

This thread is resolved. Here is a description of the problem and solution.

Problem:
- User gets fatal error when view filter widget is added to the shop page.

Solution:
- User's site is running with limited memory 128MB. To fix user issue we need to increase memory for frontend and backend.
- Edit wp-config.php file.
- Add following code and save:

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '256M' );

More Reading:
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Dylan Harris 7 years ago.

Assigned support staff: Minesh.

Author
Posts
#297507
Screen Shot 2015-04-21 at 3.10.30 PM.png

I am trying to place a views filter widget on my shop page and I'm getting a fatal error.

#297692

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please try to increase your memory limit. To do that, you should try to edit your wp-config.php file and add below lines of code at top of the file.

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '256M' );

Please refer to the following documentation:
=> https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

#297816

That worked! Thanks.