-
Notifications
You must be signed in to change notification settings - Fork 38
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
PHP errors #766
Comments
I understand that some of this is bundled 3rd-party stuff. But it's still creating issues. . . |
This code block appears to take care of some of the errors:
|
This code block seems to solve the errors generated in /app/template-helpers.php, 134-137, when no header image is present
|
Hi @ccharacter,
Thanks! |
|
Since I'm working on a dev site, I'm going to deactivate all plugins just for kicks--though I can't imagine that the errors I mentioned would be affected by a plugin. |
Hm, this is strange... |
In the error log on the server. (I have logging turned on for my own purposes.) |
I'm going to spin up another dev site that's completely uncluttered and install ALPS there--see if same thing happens right off. |
Could you please spin up a new dev server and don't install theme with checking logs? I wanna check, that it happens with our theme. |
So, checking logs with default theme and zero plugins, yes? |
I mean, just empty server without installed theme and check logs. |
FWIW, I'm working on the NAD Cloud. This test site is a single site, whereas the other one I was working on was a multi-site. Okay, I have set up this dev site: https://yyy.ccharacter.com/ I installed/activated the aforementioned version of ALPS3, as well as the plugins it wants: Rank Math SEO, Spectra - WordPress Gutenberg Blocks, and Stackable - Page Builder Gutenberg Blocks (also apparently wants SVG Support). NOTHING ELSE IS ACTIVE. |
Just double-checked: when I deactivate ALPS and reactivate the default theme, there are no additional errors. Yup, ALPS is generating errors! |
Got it, we have to migrate whole code to the new version of PHP, there are syntax errors. I am going to update our dependencies. Thanks for your request! |
Do you know for sure that these errors did not show up with PHP 8.1? Because that's the version REQUIRED BY ALPS! |
I appreciate you taking care of the problem. It's nice to work with someone who responds in a timely fashion. (I understand that this will be something that might make it into the next version, not something I'll see fixed tomorrow or next week.) |
Any reason on your end that I should not shut down my yyy dev site? I don't like to leave it open. |
This is minimal version of PHP |
No, you can close it. I am going to prepare some fix of this problem, first will try to reproduce it and we will release it asap. Thanks! |
Could you please send here all of these errors, because this is also syntax errors which reproduced just with new versions. Thanks! |
Is this what you wanted? To have it in not-just-graphic form?
|
Yes, nice! |
Will be in a contact, I am going to notify you about new release! |
Hi @ccharacter, Could you please check out latest version of ALPS Theme 3.15.2.5: https://github.com/adventistchurch/alps-wordpress/releases/tag/v3.15.2.5 Thanks! |
Hi, sorry it took me so long to think about this. Now the newest version is still blowing up my logs: `[19-Sep-2024 18:05:09 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/nadstewardship.org/plum/aiQu9o/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 67 [19-Sep-2024 18:05:09 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/nadstewardship.org/plum/aiQu9o/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 75 [19-Sep-2024 18:05:09 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/nadstewardship.org/plum/aiQu9o/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 114 [19-Sep-2024 18:05:09 UTC] PHP Deprecated: Creation of dynamic property Roots\Acorn\Sage\Sage::$files is deprecated in /var/www/vhosts/nadstewardship.org/plum/aiQu9o/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/Sage/Sage.php on line 65` |
. . . and I assumed (wrongly) that you had an auto-update working. That was still 3.15.2.3. |
Hm, could you please write your environment. Php version, wp version |
So. . . the auto-update DID kick in. I just hadn't clicked around enough. Update successful. Disregard previous! Will get back to you after checking on the new version--which I am running in php 8.2.23 (latest) and WordPress 6.6.2 (also latest). |
Yep--same set of errors as above. :-( |
Over and over and multiple times for Every. Single. Page. Load! |
Also, your "multiple SEO plugins" nag doesn't work. I deactivated Yoast, and it still shows up. I dismiss it and it still shows up. And the CLICK HERE TO DEACTIVATE link does nothing. |
@designerbrent Who from NAD Cloud can I add to the ticket to try and find a solution? |
Version of ALPS for Wordpress
v3
Describe the bug
ERROR LOGS:
[24-Jun-2024 15:25:52 UTC] PHP Deprecated: Creation of dynamic property Roots\Acorn\Sage\Sage::$files is deprecated in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/Sage/Sage.php on line 65 [24-Jun-2024 15:26:56 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 67 [24-Jun-2024 15:26:56 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 75 [24-Jun-2024 15:26:56 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 114 [24-Jun-2024 15:26:56 UTC] PHP Deprecated: Creation of dynamic property Roots\Acorn\Sage\Sage::$files is deprecated in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/Sage/Sage.php on line 65 [24-Jun-2024 15:26:57 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 67 [24-Jun-2024 15:26:57 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 75 [24-Jun-2024 15:26:57 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/PackageManifest.php on line 114 [24-Jun-2024 15:26:57 UTC] PHP Deprecated: Creation of dynamic property Roots\Acorn\Sage\Sage::$files is deprecated in /var/www/vhosts/communityservices.org/plum/ag3ieS/themes/alps-wordpress-v3/vendor/roots/acorn/src/Roots/Acorn/Sage/Sage.php on line 65
Having all that stuff show up every single time a page loads 1) blows up my error logs, and 2) makes troubleshooting anything else a nightmare.
To Reproduce
load any page with ALPS3 active
Expected behavior
Fewer PHP errors!
Additional context
Because I'm sick of looking at it, I'm manually editing the theme files as prompted by the error messages. This is something I'd hope y'all would take care of prior to releasing. Many of us depend heavily on error logging and can't afford to have it clogged up by the theme.
The text was updated successfully, but these errors were encountered: