I enable the debugs, and i have these that describe below.
In the wp-config.php
write :
define('WP_DEBUG', true);
define('WP_DEBUG', false);
1)
Notice: Undefined index: type in C:\xampp\htdocs\mywebsite\wp-content\plugins\oqey-gallery\gallcore.php on line 252
on line 252 :
//media_upload_header();
if($_GET['type'] == "oqeygallery"){ include ("insert_in_post.php"); }
2) Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( 'custom-background', $args ) instead. in C:\xampp\htdocs\mywebsite\wp-includes\functions.php on line 2638
3) Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in C:\xampp\htdocs\mywebsite\wp-includes\functions.php on line 2638
4)Notice: Trying to get property of non-object in C:\xampp\htdocs\mywebsite\wp-content\themes\mywebsite\includes\for_articles\get_excerpt.php on line 12
function get_excerpt()
{
$excerpt = get_the_content();
$excerpt = preg_replace(" (\[.*?\])",'',$excerpt);
$excerpt = strip_shortcodes($excerpt);
$excerpt = strip_tags($excerpt);
$excerpt = substr($excerpt, 0, 440);
$excerpt = substr($excerpt, 0, strripos($excerpt, " "));
$excerpt = trim(preg_replace( '/\s+/', ' ', $excerpt));
$excerpt = $excerpt.'<a class="read-more" <a href="'. get_permalink($post->ID) . '">Read more »»</a>';
return $excerpt;
}
?>
Edit:
Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in /home/www/server/mywebsite/www/wp-includes/functions.php on line 2638
function _deprecated_function( $function, $version, $replacement = null ) {
do_action( 'deprecated_function_run', $function, $replacement, $version );
// Allow plugin to filter the output error trigger
if ( WP_DEBUG && apply_filters( 'deprecated_function_trigger_error', true ) ) {
if ( ! is_null($replacement) )
**2638** trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.'), $function, $version, $replacement ) );
else
trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.'), $function, $version ) );
}
}
Update : Only when activate the plugin oQey Gallery, display some errors like:
Notice: Undefined index: type in C:\xampp\htdocs\website\wp-content\plugins\oqey-gallery\gallcore.php on line 252
Notice: Undefined index: page in C:\xampp\htdocs\website\wp-content\plugins\oqey-gallery\oqeygallery.php on line 346
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in C:\xampp\htdocs\website\wp-includes\functions.php on line 2723