Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redeclare qtranxf_trim_words #201

Closed
faina09 opened this issue Jul 23, 2015 · 3 comments
Closed

redeclare qtranxf_trim_words #201

faina09 opened this issue Jul 23, 2015 · 3 comments
Labels

Comments

@faina09
Copy link

faina09 commented Jul 23, 2015

PHP Fatal error: Cannot redeclare qtranxf_trim_words()
(previously declared in ..\wp-content\plugins\qtranslate-x\admin\qtx_admin_utils.php:643)
in ..\wp-content\plugins\qtranslate-x\qtranslate_frontend.php on line 657

@Grafcom
Copy link

Grafcom commented Jul 23, 2015

@faina09
Copy link
Author

faina09 commented Jul 23, 2015

yes, I solved editing
\wp-content\plugins\qtranslate-x\admin\qtx_admin_utils.php
inserting the if line @line 642

if(!function_exists('qtranxf_trim_words')){
//filter added in qtranslate_hooks.php
function qtranxf_trim_words( $text, $num_words, $more, $original_text ) {
(....)
}
}

@johnclause johnclause added the bug label Jul 25, 2015
@johnclause
Copy link
Member

Should fixed in 3.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants