Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! Thanks for the suggestion! The unichr function is part of a third party library (dompdf), so it’s not something that I can easily change (all of my own plugin functions are wrapped in a class to prevent such errors). Doing a function_exists() is not ideal because it would cause unexpected behavior if the other function does something entirely different.

    The next version of dompdf will be namespaced and this should prevent such an error. Until then, I hope this error can be solved in the Ceceppa Multilingua plugin!

    I’m sorry for the inconvenience!

    Thread Starter c960657

    (@c960657)

    Thanks for the feedback. I will edit the file manually for now, until the issue is fixed in dompdf or Ceceppa Multilingua.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug: Cannot redeclare unichr()’ is closed to new replies.