[dokuwiki] Re: Call to undefined function random_bytes

  • From: "Phy" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "i" for DMARC)
  • To: DokuWiki Mailinglist <dokuwiki@xxxxxxxxxxxxx>
  • Date: Tue, 10 Sep 2019 19:54:03 -0400

On Tue, Sep 10, 2019 at 12:22 PM Fourhundred Thecat <400thecat@xxxxxx>
wrote:

I cannot upgrade because my dokuwiki has lots of customizations

Is there a way to fix this without upgrade ?


Firstly this error is caused by davcal; there is nothing to do with the
core.

DokuWiki should has some fallback for missing random_bytes, while davcal
does not.

http://www.aboehler.at/hg/davcal/rev/289b4fc06c1a

You may want to include this library somewhere before that plugin loads
(i.e. install it):
https://github.com/paragonie/random_compat

Best regards,
Henry

Other related posts: