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

Unexpected warning with header style option

warning header specular
    • 1 year, 9 months ago Harris
      Participant

      Expired

      Hi!

      On a local installation, I’m receiving a warning from the template on the home page, when some header option like “With border top” are selected. Here’s an extract:

      C:\wamp64\www\mywebsite\wp-content\themes\specular\includes\view\header-classic.php on line 74 Call Stack #TimeMemoryFunctionLocation […]

      Could you help me with that? Thank you

    • 1 year, 9 months ago azam
      Keymaster

      Please check your web server fulfills the below characteristics at least value.

      memory_limit = 256M
      post_max_size = 64M
      upload_max_filesize = 64M
      max_execution_time = 300
      max_input_time = 1000
      Php 8.2.x

      Thanks,

    • 1 year, 9 months ago Harris
      Participant

      Expired

      All these variables where updated accordingly in the php.ini and php version was updated to 8.2.0, but the warning’s still there

    • 1 year, 9 months ago Harris
      Participant

      Expired

      I’ve added a debug line in header-classic.php, and as the warning said, the variable does not exist at line 74. Printing some more shows that “codeless_get_mod(‘header_style’)”‘s value is ‘header_2’, so that initialization of said variable is skipped all together on condition of line 44

    • 1 year, 9 months ago Harris
      Participant

      Expired

      Adding header_2 to the conditions seems to be enough. Does it make sense with the rest of the code?

    • 1 year, 9 months ago Harris
      Participant

      Expired

      Also, there is this other issue which might be related to this one. There is a very weird formatting with the header. I’ve tried and reproduced this issue on a fresh install:

      – create a fresh wordpress install on a new database
      – install specular and all of its required plugins
      -> at this point the header displays normally on chrome or firefox
      – change the header style to any other style
      – change it back to simple style (or use the reset option)
      -> the header lack any spacing (on firefox or chrome (cache deactivated))

      Thanks for your help

    • 1 year, 9 months ago azam
      Keymaster

      In my eye use this approach:
      Buy a webhosting and dont attach or buy the domain just use temporary url and setup there, I cant verify or check whats happening or what config is there on your local PC / Server.

    • 1 year, 9 months ago Harris
      Participant

      Expired

      I’ve reinstalled everything on a remote Debian install, but then I could not reproduce the problem, so I’ll leave it to that at this point and come back to you if anything.

    • 1 year, 9 months ago azam
      Keymaster

      Sure thing Sir:)
      No worries I am here for you.

Viewing 8 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