Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Cannot assign requested address
Filename: mysqli/mysqli_driver.php
Line Number: 201
Backtrace:
File: /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php
Line: 343
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/application/controllers/Api.php
Line: 12
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/index.php
Line: 316
Function: require_once
无法使用提供的设置连接到数据库服务器。
Filename: core/MY_Controller.php
Line Number: 343
<?php
/**
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link https://shapedplugin.com
* @since 1.0
* @package Testimonial
*
* Plugin Name: Real Testimonials
* Plugin URI: https://realtestimonials.io/?ref=1
* Description: Real Testimonials is a responsive and customizable testimonial plugin for WordPress. Easily collect customer reviews and video testimonials with review forms, display them in beautiful layouts, and publishing—all in just a few minutes.
* Version: 3.1.10
* Author: ShapedPlugin LLC
* Author URI: https://shapedplugin.com/
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* Text Domain: testimonial-free
* Domain Path: /languages
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
require_once __DIR__ . '/vendor/autoload.php';
/**
* Pro version check.
*
* @return boolean
*/
function is_testimonial_pro_active() {
include_once ABSPATH . 'wp-admin/includes/plugin.php';
if ( ( is_plugin_active( 'testimonial-pro/testimonial-pro.php' ) || is_plugin_active_for_network( 'testimonial-pro/testimonial-pro.php' ) ) ) {
return true;
}
}
define( 'SP_TFREE_NAME', 'Real Testimonials' );
define( 'SP_TFREE_VERSION', '3.1.10' );
define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) . 'src/' );
define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) . 'src/' );
define( 'SP_TFREE_BASENAME', plugin_basename( __FILE__ ) );
if ( ! is_testimonial_pro_active() ) {
new ShapedPlugin\TestimonialFree\Admin\Views\Notices\Testimonial_Review();
new ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL();
}
/**
* Returns the main instance.
*
* @since 2.0 SP_Testimonial_FREE
* @return void
*/
function sp_testimonial_free() {
new ShapedPlugin\TestimonialFree\Includes\TestimonialFree();
}
if ( function_exists( 'sp_testimonial_free' ) && ! is_testimonial_pro_active() ) {
// sp_testimonial_free instance.
sp_testimonial_free();
}
// End of the class.
if ( ! function_exists( 'sp_testimonial' ) ) {
/**
* Shortcode converter function
*
* @param int $post_id shortcode id.
* @return void
*/
function sp_testimonial( $post_id ) {
echo do_shortcode( '[sp_testimonial id="' . esc_attr( $post_id ) . '"]' );
}
}