Memory error using [array]
-
I am using the custom content shortcode plugin in conjunction with ‘ultimate member’to create a directory listing. In the basic listing I’m using the array shortcode to display the contents of a custom field that is an array like this.
[array user_field=”listing_category” debug=true] [field “1”] , [field “2”][/array]
In debug mode the list shows the contents of the array as thus;
Array
(
[0] => Baby
[1] => Electronics and telecom
[2] => Gifts and flowers
)However, if I add [field “0”] or [field 0] to the list, I get the fatal memory error;
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) in /home/waitara/public_html/2016/wp-includes/shortcodes.php on line 214
I’ve become quite frustrated trying to resolve this.
Any suggestions?
The topic ‘Memory error using [array]’ is closed to new replies.