htaccess redirect throws an error: PHP Catchable fatal error: Object of class WP_Error could not be converted to string

They aren’t really connected. It’s just a redirect after all. The error means that some code in your website wrongly passes a WP_Error object to wp_kses_no_null(). In your position I’d put something like this into this function for debugging: if ( is_wp_error( $string ) ) { var_dump( $string ); debug_print_backtrace(); } This way you can … Read more

WP Core Update Issue

If you’re running v4.9.3, you will unfortunately have to do a manual upgrade to v4.9.4. According to its release announcement, v4.9.3 contained a bug that produces an error when you attempt to upgrade it from within the dashboard.

WordPress code problem [closed]

This is a shortcode of the Popup builder plugin that for some reason is not being evaluated. Is that plugin installed? Most likely the shortcode is in a widget somewhere. It could also be in a theme file.

PHP E_WARNING being shown despite php.ini [closed]

Did you check your wp-config.php file for WP_DEBUG constants? //enable debug define( ‘WP_DEBUG’, true ); //save to file define( ‘WP_DEBUG_LOG’, true ); //show in browser define( ‘WP_DEBUG_DISPLAY’, true); See https://codex.wordpress.org/WP_DEBUG for more details.

javascript variable to wordpress php variable

First you need to to send function name as additional data as $.ajax({ type: “POST”, url: compareids_ajax.ajax_url, data: { // Data object compareIDs : compareIDs, action: ‘your_ajax_function’ // This is required to let WordPress know which function to invoke }, contentType: “application/json; charset=utf-8”, dataType: “json”, success: function (msg) { console.log( msg ); }, error: function … Read more