Title: PHP Error: qtrans_convertURL does not exist
Last modified: November 8, 2016

---

# PHP Error: qtrans_convertURL does not exist

 *  Resolved [X-Raym](https://wordpress.org/support/users/x-raym/)
 * (@x-raym)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-qtrans_converturl-does-not-exist/)
 * Hi,
 * First, thanks for your nice plugin 🙂
 * With qTranslate-X, I get a PHP error:
 *     ```
       WARNING: wp-includes/plugin.php:235 - call_user_func_array() expects parameter 1 to be a valid callback, function 'qtrans_convertURL' not found or invalid function name
       require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/highwind-child/single.php'), get_footer, locate_template, load_template, require_once('/themes/highwind-child/footer.php'), highwind_footer, do_action('highwind_footer'), highwind_footer_widgets, dynamic_sidebar, WP_Widget->display_callback, Related_Widget->widget, Related->show, get_permalink, get_post_permalink, apply_filters('post_type_link')
       ```
   
 * It seems that there is a problem in line 265 of related.php
 *     ```
       			if ( is_plugin_active($plugin) || is_plugin_active($q_plugin) || is_plugin_active($m_plugin) ) {
       				add_filter('post_type_link', 'qtrans_convertURL');
       			}
       ```
   
 * Any idea on how to fix this a part from deleting it ?
 * Thanks for listening !

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [X-Raym](https://wordpress.org/support/users/x-raym/)
 * (@x-raym)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-qtrans_converturl-does-not-exist/#post-8411528)
 * Actually I find the error, by looking at qTranslate-X code,
 * you should add a condition to tell that if qTranslate-X then the filter callback
   is qtranxf_convertURL.
 * This will resolve the issue. 🙂
    -  This reply was modified 9 years, 6 months ago by [X-Raym](https://wordpress.org/support/users/x-raym/).
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-qtrans_converturl-does-not-exist/#post-8472571)
 * Ah, thanks. I never noticed this (I don’t use both plugins together).
 * It is fixed in the new version.
 *  Thread Starter [X-Raym](https://wordpress.org/support/users/x-raym/)
 * (@x-raym)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-qtrans_converturl-does-not-exist/#post-8472790)
 * Thanks Marcel !!
 * Cheers 😛
    -  This reply was modified 9 years, 6 months ago by [X-Raym](https://wordpress.org/support/users/x-raym/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Error: qtrans_convertURL does not exist’ is closed to new replies.

 * ![](https://ps.w.org/related/assets/icon-256x256.png?rev=2313348)
 * [Manual Related Posts](https://wordpress.org/plugins/related/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related/)
 * [Active Topics](https://wordpress.org/support/plugin/related/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [X-Raym](https://wordpress.org/support/users/x-raym/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-qtrans_converturl-does-not-exist/#post-8472790)
 * Status: resolved