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

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

@faina09

This comment has been minimized.

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

This comment has been minimized.

Copy link
Member

johnclause commented Jul 31, 2015

Should fixed in 3.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.