Can’t save changes or modify settings in Dashboard but Pages and Posts are fine

Figured it out. In an attempt to optimize Astra theme’s performance, I modified the PHP settings in cPanel > MultiPHP INI Editor based on recommendations online. However, I wasn’t careful enough with my changes. I had neglected to include M in post_max_size, using only a number. 😐 After adding it, everything started to work correctly … Read more

WordPress comments – delimiter “/” not found

I found a soloution and what causes it. It was not really the delimiter that was the problem it was becasue a user made duplicate posts. Solution: Replace $notify_message .= preg_replace(‘#[\s]+#’, ‘ ‘,sprintf( get_comment_meta($comment->comment_ID, ‘title’,1))) .’ skrev:’. “\r\n” . $comment->comment_content . “\r\n\r\n”; With $notify_message = preg_replace(‘/[\s]+/’, ‘ ‘,sprintf( get_comment_meta($comment->comment_ID, ‘title’,1)) .’ skrev:’. “\r\n” . $comment->comment_content … Read more

Cannot modify header information – server cache

It means WordPress is outputting something to the browser too early. The file indicated seems to be your own session file (php stores user sessions in small text files in the tmp directory). Check first the wp-config.php file. Remove the final closing php tag. Make sure you’re not outputting anything in that file (look for … Read more

Custom meta box in custom post type not working

Hey Change Callback function to like this and add_meta_box to add_meta_boxes hook function create_meta_box_slider() { add_meta_box( ‘new-meta-boxes-slider’, __(‘slider Settings’), ‘new_meta_box’, ‘slider’, ‘normal’, ‘high’ ); } add_action(‘add_meta_boxes’, ‘create_meta_box_slider’); function new_meta_box() { global $meta_box_groups; $meta_box_groups[] = $slide_info; } I think it work fine

PHP Warning: Missing argument 2

You are hooking select_age() to wpcf_after_init which more than likely does not accept two arguments. I am not sure why you are hooking into that hook but it is not necessary for a shortcode, nor is there any obvious reason in the code.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)