ACF Taxonomy field fatal error

Hello,

I have problem with ACF Taxonomy field.

It seems that this field type doesn’t work with BeTheme.

Any other type works fine.

When I use ACF Taxonomy field I got fatal error on page.

I can see following info:

Fatal error: Uncaught TypeError: str_replace(): Argument #2 ($replace) must be of type string when argument #1 ($search) is a string in /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/modules/class-mfn-dynamic-data.php:46 Stack trace: #0 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/modules/class-mfn-dynamic-data.php(46): str_replace('{acf:udogodnien...', Array, '{acf:udogodnien...') #1 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/theme-functions.php(16): MfnDynamicData->render('{acf:udogodnien...', false) #2 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/builder/class-mfn-builder-items.php(545): be_dynamic_data('{acf:udogodnien...') #3 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(2763): Mfn_Builder_Items::item_column(Array, false) #4 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(2466): Mfn_Builder_Front->show_items(Array, 0, false, false) #5 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(1458): Mfn_Builder_Front->show_wraps(Array, 2, false) #6 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(333): Mfn_Builder_Front->show_sections(Array, false) #7 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/single.php(65): Mfn_Builder_Front->show() #8 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-includes/template-loader.php(106): include('/home/users/kul...') #9 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-blog-header.php(19): require_once('/home/users/kul...') #10 /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/index.php(17): require('/home/users/kul...') #11 {main} thrown in /home/users/kulinarnagdynia/public_html/kulinarnagdynia-new/wp-content/themes/betheme/functions/modules/class-mfn-dynamic-data.php on line 46

 

The problem is with multiselection. When I have only one value (position) marked then it works without problems. But when I check few values, then I have fatal error.

Any suggestions what to look for?

Comments

Sign In or Register to comment.