This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
| Status |
Topic
|
Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
Error when using with ACF flexible content field
Started by: karenO-2
in: English Support
Problem: /public/wp-content/themes/epgglobal/components/builder_page.php file: $loop_item_logo = get_field("logo", $latest_array_id);With: $loop_item_logo = get_field("logo", $latest_array_id);<br />$logo_url = '';<br />$logo_alt = '';<br />if (is_array($loop_item_logo)) {<br /> $logo_url = $loop_item_logo['url'] ?? '';<br /> $logo_alt = $loop_item_logo['alt'] ?? '';<br />}And replace: <div class="cr-all"><img src=".$loop_item_logo["url"]." alt=".$loop_item_logo["alt"]."/></div> With: <div class="cr-all"><img src=".$logo_url." alt=".$logo_alt."/></div> We tested this solution locally and it resolved the issues. If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML support forum. |
|
0 | 14 | 3 weeks ago | |
|
Uncaught InvalidArgumentException: item should be a Collection or an array or an object
Started by: karenO-2
in: English Support
Problem: If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum. |
|
0 | 2 | 1 year ago |