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

Consistent Error #772

Open
designerbrent opened this issue Aug 7, 2024 · 8 comments
Open

Consistent Error #772

designerbrent opened this issue Aug 7, 2024 · 8 comments
Assignees
Labels
ALPS v.3 Tickets for the ALPS v.3 development bug

Comments

@designerbrent
Copy link
Collaborator

Version of ALPS for Wordpress
v3

  • WordPress version 6.6.1
  • Active theme: ALPS for WordPress (version 3.15.2.3)
  • Current plugin: (version )
  • PHP version 8.1.29

Describe the bug
I'm getting regular emails from Wordpress that state Your Site is Experiencing a Technical Issue

Error Included

An error of type E_ERROR was caused in line 277 of the file .../wp-content/themes/alps-wordpress-v3/app/carbon-fields/cf-theme-options.php. Error message: Uncaught ValueError: fread(): Argument #2 ($length) must be greater than 0 in .../wp-content/themes/alps-wordpress-v3/app/carbon-fields/cf-theme-options.php:277
Stack trace:
#0 .../wp-content/themes/alps-wordpress-v3/app/carbon-fields/cf-theme-options.php(277): fread()
#1 .../wp-includes/class-wp-hook.php(324): crb_attach_theme_options()
#2 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 .../wp-includes/plugin.php(517): WP_Hook->do_action()
#4 .../wp-content/themes/alps-wordpress-v3/vendor/htmlburger/carbon-fields/core/Loader/Loader.php(113): do_action()
#5 .../wp-includes/class-wp-hook.php(324): Carbon_Fields\Loader\Loader->trigger_fields_register()
#6 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 .../wp-includes/plugin.php(517): WP_Hook->do_action()
#8 .../wp-settings.php(700): do_action()
#9 .../wp-config.php(189): require_once('...')
#10 .../wp-load.php(50): require_once('...')
#11 .../wp-login.php(12): require('...')
#12 {main}
thrown

@designerbrent designerbrent added bug ALPS v.3 Tickets for the ALPS v.3 development labels Aug 7, 2024
@claytonk
Copy link
Collaborator

claytonk commented Aug 7, 2024 via email

@hans-olson hans-olson removed their assignment Aug 7, 2024
@hans-olson
Copy link
Contributor

@YauheniKapliarchuk

Please take a look at this.

@designerbrent
Copy link
Collaborator Author

This seems like the same error that is reported by @cdbieling here: #735 (comment)

@claytonk I was able to change the theme color and then change it back.

@claytonk
Copy link
Collaborator

claytonk commented Aug 9, 2024

@designerbrent Are you still getting the error after changing the color theme?

@designerbrent
Copy link
Collaborator Author

@claytonk so far, I haven’t gotten an email yet. I’ve never seen the error in the logs, just in the emails from WP. I’ll see if one comes in the next day or so.

@YauheniKapliarchuk
Copy link
Collaborator

@designerbrent @hans-olson
I will prepare new build with updated theme for test.

Hope it will fix this issue

Thanks!

@designerbrent designerbrent changed the title Constant Error Consistent Error Aug 12, 2024
@designerbrent
Copy link
Collaborator Author

@claytonk This didn't solve the problem for me. I'm still seeing the errors. The theme.json file is populated, BTW.

@hans-olson
Copy link
Contributor

@designerbrent @hans-olson I will prepare new build with updated theme for test.

Hope it will fix this issue

Thanks!

Great. Please let me know when it is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ALPS v.3 Tickets for the ALPS v.3 development bug
Projects
None yet
Development

No branches or pull requests

4 participants