Title: Repeating Fields Causing PHP Errors
Last modified: June 23, 2023

---

# Repeating Fields Causing PHP Errors

 *  Resolved [theslink2000](https://wordpress.org/support/users/theslink2000/)
 * (@theslink2000)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/)
 * Hi,
   I’m just using Pods for a simple setup and when I try to render a repeating
   field it gives PHP errors as it seems to be processing the repeating field as
   an array and not as individual entries:
 *     ```wp-block-code
       Warning: strpos() expects parameter 1 to be string, array given in /home/customer/www/**********/public_html/wp-includes/blocks.php on line 801
   
       Warning: preg_match() expects parameter 2 to be string, array given in /home/customer/www/**********/public_html/wp-includes/class-wp-block-parser.php on line 417
   
       Warning: strlen() expects parameter 1 to be string, array given in /home/customer/www/**********/public_html/wp-includes/class-wp-block-parser.php on line 489
       ```
   
 * I’m using Hello Elementor and rendering these through Elementor and have no other
   plugins installed at present and everything is up to date.
 * I’d appreciate any pointes or solutions rather than having to edit the plugin
   files.
 * Many thanks.
    -  This topic was modified 2 years, 11 months ago by [theslink2000](https://wordpress.org/support/users/theslink2000/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843038)
 * See:
 * [https://docs.pods.io/plugins/elementor/elementor-pro/](https://docs.pods.io/plugins/elementor/elementor-pro/)
 * [https://docs.pods.io/displaying-pods/pods-shortcode/](https://docs.pods.io/displaying-pods/pods-shortcode/)
 * [https://docs.pods.io/displaying-pods/template-tags/each-loop-tag/#EACH_Block_for_Simple_Repeatable_Fields](https://docs.pods.io/displaying-pods/template-tags/each-loop-tag/#EACH_Block_for_Simple_Repeatable_Fields)
 * [https://elementor.com/help/shortcode-widget/](https://elementor.com/help/shortcode-widget/)
 *  Thread Starter [theslink2000](https://wordpress.org/support/users/theslink2000/)
 * (@theslink2000)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843061)
 * Thanks for the quick reply.
 * That’s really disappointing as it’s way easier to change my CPT method, as Pod’s
   was just a quick experiment, rather than my page builder.
 * Thank you again though and good luck with these issues in the future.
 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843076)
 * Sorry to hear a user give up so quickly. Good luck and best regards.
 *  Thread Starter [theslink2000](https://wordpress.org/support/users/theslink2000/)
 * (@theslink2000)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843080)
 * I genuinely wouldn’t want to, but as I said it was a quick experiment and I have
   access to OnTheGoSystem’s full Toolset suite, I just wanted to see if I could
   use Pod’s as a lightweight alternative for a small site so it doesn’t make sense
   to make things more difficult for the sake of it when I know that solution works.
   
   All the best.
 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843091)
 * 6 minutes to learn from examples of how to iterate arrays from relationship fields
   doesn’t seem like a genuine effort or a thorough experiment. Have fun with the
   alternative GUIs.
 *  Thread Starter [theslink2000](https://wordpress.org/support/users/theslink2000/)
 * (@theslink2000)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843102)
 * Wow.
 * I know perfectly well how to iterate through arrays thank you very much and have
   been very polite. I don’t appreciate the catty comments when asking a very basic
   question over your integrations, which aren’t functioning properly, so why would
   I spend time putting in more effort than required when I don’t need to.
 * Once again I will thank you for your time but now this conversation is over.
 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843141)
 * It’s not meant to be catty; it’s reading the timer on your response as compared
   to time required to make a “genuine” effort or communicate about something that
   involves “difficulty”. 
   The time invested reveals something about effort: a preference
   for what’s comfortable, and an expectation that an unspecified requirement be
   solved without considering or communicating complexity.
 * You posted an error for others to solve without searching first and bailed at
   the first sign of learning being required. It’s not very polite, and these questions
   wouldn’t be necessary if you knew how to iterate or searched before posting. 
   
   A conversation doesn’t end just because one concludes with an ultimatum.
 * In the future, I’d recommend investing in a search or being curious about learning
   a new approach.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Repeating Fields Causing PHP Errors’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 7 replies
 * 2 participants
 * Last reply from: [pdclark](https://wordpress.org/support/users/pdclark/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/repeating-fields-causing-php-errors/#post-16843141)
 * Status: resolved