My hosting provider no longet supports older versions of php – when i upgraded site stopped working. critical error on wordpress. is there any way of getting compatibility with php 8
I get these php warnings on my website getech.com.tr. I am using skt-nature theme.
2024/03/01 10:04:38 [error] 792#792: *805 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “header_button_topbg_color” in /getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 128; PHP message: PHP Warning: Undefined array key “header_button_bottombg_color” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 128; PHP message: PHP Warning: Undefined array key “services_titletopcolor” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 165; PHP message: PHP Warning: Undefined array key “services_titlebotmcolor” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 165; PHP message: PHP Warning: Undefined array key “contact_border_color” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 170; PHP message: PHP Warning: Undefined array key “slide_pager_color_id” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 274; PHP message: PHP Warning: Undefined array key “slide_active_pager_color_id” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 275; PHP message: PHP Warning: Undefined array key “product_imghv_overlay_color” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 368; PHP message: PHP Warning: Undefined array key “social_hover_iconbg_color_id” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 374; PHP message: PHP Warning: Undefined array key “social_hover_icon_color_id” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 384; PHP message: PHP Warning: Undefined array key “social_hover_icon_color_id” in getech.com.tr/wp-content/themes/skt-nature/templates/custom-style.php on line 388; PHP message: PHP Warning: Undefined
For security reasons, I wouldn’t like to give admin access, so if you can guide me on how to fix them or provide a fixed code that would be great.
I am facing a similar problem to this ticket: https://www.sktthemes.org/forums/topic/session_start-function-causing-site-health-errors/
my website -> https://www.getech.com.tr/
I am using skt-nature theme and in my website health i get this warning:
*****************************
An active PHP session was detected
Performance
A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.
The REST API encountered an error
Performance
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
The REST API request failed due to an error.
*****************************
I found the code in my theme, it is inside skt-nature/skt-donation-givewp-free/skt-donation-givewp-free.php
At the end of the file there is this function:
function skt_donation_givewp_register_session(){
@ob_start();
if( !session_id() )
session_start();
}
When I delete the code inside this function, the error is gone. Why this error occurs, does it affect my website if I delete it?
Kindly go to theme folder > templates > custom-style.php, from here remove the unused functions those are showing in log file for example “skt_testimonial_box_text_color”,
Kindly find this variable and remove this from the custom-style.php file
I am writing to you regarding an issue I have encountered with the Music Band Pro theme. This problem appears to be present across all accounts where this theme is used.
It seems that there are errors arising from plugins that are incompatible with the current version of WordPress. I have attempted to resolve this by disabling all plugins, but the problem persisted. I then proceeded to delete all plugins, but this did not rectify the issue either. However, when I changed the theme, I was able to access the WordPress administration.
I will be sending you the WHM access data via email so that you can access each of the CPanel accounts experiencing this issue. This will allow you to view the server environment and make necessary changes to the versions of PHP or other components. You will have full access.
However, I kindly request that you ensure everything is left in working order, whether with this theme or its closest replacement.
For your convenience, I have left backup copies of the sites from when they were functioning correctly. You may access these for your tests.
Kindly go to Theme Folder > sktframe > core-pageheader.php go to line number 78
Replace this : <h1><?php echo $post_type_obj->labels->name; ?></h1>
To : <h1>WYJAZDY</h1>
It’s look like given screenshot : https://nimb.ws/4EiWpD
1. I would like to add calendar option to filter tours that are being added. Is there such an option please?
Ans : There is no option to add calendar option for the tours filter.
2. How do I edit the search form shortcode? Can’t seem to find it: http://nowa.adrenaliner.com/
Ans : Here search form shortcode are mange by the core-functions.php file, Kindly go to Theme folder > sktframe > core-functions.php find “[searchadventure]” here form shortcode are start from line number 2406.
Regards,
Brad
Author
Search Results
Viewing 15 results - 61 through 75 (of 1,993 total)