Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

bakery breaking homepage ?

    • 1 year, 3 months ago baimac
      Participant

      Expired

      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.

    • 1 year, 3 months ago azam
      Keymaster

      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,

    • 1 year, 3 months ago baimac
      Participant

      Expired

      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.png

      corrected homepage, after R.V.’s change
      https://marysadvocates.org/OutsideWordpress/Temp_to_Delete/240319_correct_homepage.png

    • 1 year, 3 months ago baimac
      Participant

      Expired

      This reply has been marked as private.
    • 1 year, 3 months ago azam
      Keymaster
      This reply has been marked as private.
    • 1 year, 3 months ago baimac
      Participant

      Expired

      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.”

    • 1 year, 3 months ago baimac
      Participant

      Expired

      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 1 year, 3 months ago by baimac.
    • 1 year, 3 months ago baimac
      Participant

      Expired

      This reply has been marked as private.
    • 1 year, 3 months ago azam
      Keymaster
      This reply has been marked as private.
    • 1 year, 3 months ago baimac
      Participant

      Expired

      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?

    • 1 year, 3 months ago baimac
      Participant

      Expired

      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.

    • 1 year, 3 months ago azam
      Keymaster
      This reply has been marked as private.
Viewing 11 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password