Core error when calling remove_menu_page

The error line comes from the following in wp-admin/includes/plugin.php: function remove_menu_page( $menu_slug ) { global $menu; foreach ( $menu as $i => $item ) { if ( $menu_slug === $item[2] ) { unset( $menu[ $i ] ); return $item; } } return false; } The global $menu does not actually get populated until the wp-admin/menu-header.php … Read more

Can’t create new pages in wordpress

Thanks to _LS for the hint, In fact, there were many rows with the same ID , i had to create new table , copy the old table rows with auto increment option, remove the old table then rename the new table to the old table’s name. that did the trick. Thanks all

WordPress 6.1.1 shows deprecated errors with PHP 8.1 & 8.2

This is not actually an error, rather a deprecation notice. Which means, future versions of PHP will remove some old language features, so the developers should be aware of it. Info. for WordPress: WordPress developers are well aware of it and future versions of WordPress will be changed and this deprecation notice will no longer … Read more

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