-
-
Hello,
I taught myself enough wordpress about five years ago to make our website but forgot much of what I learned because recently I only add pages and posts. We had a web-developer consultant who helps me when problems were beyond my knowledge and that person retired. Recently I’ve been trying to resolve problems with various freelancers and I’m getting inconclusive information. One freelancer KG told me a plugin was causing our homepage to break. The page was failing to show anything under the main header.
On Mar. 17 (10:11 pm), another freelancer R.V. wrote the following to me:
“I have upgraded PHP version in staging site to PHP 8.2.
“Now I have found one issue with the plugin
“wp-content/plugins/specular-wpbakery-addons/includes/codeless-slider/codeless_slider.php
“Line Old Code New Code
“241
” $extra[‘style’] .= ‘position:absolute; left:50%; margin-left: -‘.($width/2).’px; ‘;
” $extra[‘style’] .= ‘position:absolute; left:50%; margin-left: -‘.(intval($width)/2).’px; ‘; ”Does this mean that bakery plugin was broken and would cause my homepage to show no content below the main menu? I am trying to avoid having to hire an outside web-developer every time you update speculate and bakery.
-
Hi,
Please provide us with your website URL, wp-admin access, and FTP information (username and password)?
Kindly send this information using the “Set as private reply” option to ensure the security and privacy of your data.Thanks,
-
From freelancer R.V., I’ve learned the following:
The problem is with the carousel/slider feature by the Specular theme author’s plugin (that is an add-on to the wpbakery plugin with code here “specular-wpbakery-addons/includes/codeless-slider/codeless_slider.php”).
See screen shot of appearance of the homepage with PHP v.8.2 before and after R.V. changed line 241. His changes are shown in above message (8:44 am Ohio time)
broken homepage, prior to R.V.’s change
https://marysadvocates.org/OutsideWordpress/Temp_to_Delete/240319_broken_homepage.pngcorrected homepage, after R.V.’s change
https://marysadvocates.org/OutsideWordpress/Temp_to_Delete/240319_correct_homepage.png -
-
-
web-developer freelancer R.V. says the following: “My recommendation would be to ask the theme author to apply the fix to their plugin in next update.”
-
When I open this page you made that shows AAA https://marysadvocates.org/aaa/ , I see the carousel/slider feature working properly. However, is this only happening because of the change in the code that web-developer freelancer R.V. made? I described to you how he changed line 241 in my above message (8:44 am Ohio time) “wp-content/plugins/specular-wpbakery-addons/includes/codeless-slider/codeless_slider.php”
I want to avoid the problem of having to hire a web-developer to make a custom update to our site every time we upload a newer version of the Specular theme. From what I understand, if you don’t correct the code on your end in the next update, my carousel/slider feature will keep failing.
- This reply was modified 8 months ago by baimac.
-
-
-
This is customer (baimac). I am trying to avoid having to hire a freelancer web-developer every time you update Specular theme. Can you confirm that whatever you fixed will stay fixed the next time I (or freelancer web-developer) install your future updates of Specular and the carousel/slider feature will not ‘break’ my homepage. Is that right?
-
Hello,
This is RV, A web developer working for Bai.
The code in your theme’s addon plugin “specular-wpbakery-addons” has one line that causes WordPress fatal error when we have a WordPress installation with PHP 8.2 version.
The file, specular-wpbakery-addons/includes/codeless-slider/codeless_slider.php needs to be updated in future version of your theme so that it does not cause this error.
“Line Old Code New Code
“241
” $extra[‘style’] .= ‘position:absolute; left:50%; margin-left: -‘.($width/2).’px; ‘;
” $extra[‘style’] .= ‘position:absolute; left:50%; margin-left: -‘.(intval($width)/2).’px; ‘; ”See how the $width has to be supplied as int value in this line.
Please have your development team to take a note of this so they can release the next update with this issue fixed.
-
-
You must be logged in to reply to this topic.