Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with foreach() Warning on Main Page #4373

Open
stepanhalama opened this issue Sep 3, 2024 · 2 comments
Open

Issue with foreach() Warning on Main Page #4373

stepanhalama opened this issue Sep 3, 2024 · 2 comments

Comments

@stepanhalama
Copy link

Hello,

I am experiencing an issue with the Unyson plugin on my WordPress website. On the main page, I am getting the following warning message:
Warning: Invalid argument supplied for foreach() in /data/web/virtuals/310553/virtual/www/wp-content/plugins/unyson/framework/helpers/general.php on line 1275

It appears that the foreach() loop is receiving an invalid argument, likely due to a variable not being an array. I have tried updating the plugin to the latest version and disabling all other plugins to rule out any conflicts, but the issue persists.

Could you please provide guidance on how to resolve this issue? I would appreciate any assistance you can offer to help me fix this warning.

Thank you for your support.

@Monika91292
Copy link

hi, i have problem too
arning: Invalid argument supplied for foreach() in D:\Sites\web_5882340784949029882398431\www\wp-content\plugins\unyson\framework\includes\option-types\typography-v2\class-fw-option-type-typography-v2.php on line 148

Warning: Invalid argument supplied for foreach() in D:\Sites\web_5882340784949029882398431\www\wp-content\plugins\unyson\framework\includes\option-types\typography-v2\class-fw-option-type-typography-v2.php on line 148

Warning: Invalid argument supplied for foreach() in D:\Sites\web_5882340784949029882398431\www\wp-content\plugins\unyson\framework\helpers\general.php on line 1275

@lynnamos
Copy link

lynnamos commented Sep 5, 2024

I am having the same problem:
https://helenhayeshospitalfoundation.com/

In addition I am getting the following message on all pages:
Notice: Undefined property: FW_Option_Type_Page_Builder::$get_type in /home/hhhfoundationweb/public_html/wp-content/plugins/unyson/framework/extensions/builder/includes/option-types/builder/extends/class-fw-option-type-builder.php on line 75

Notice: Undefined property: FW_Option_Type_Page_Builder::$get_type in /home/hhhfoundationweb/public_html/wp-content/plugins/unyson/framework/extensions/builder/includes/option-types/builder/extends/class-fw-option-type-builder.php on line 78

I'm running WordPress 6.6.1. All my themes and plugins are up to date.

Can you help please?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants