Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Uncaught Error: Call to undefined function caPhantomJSInstalled()

When trying to open "Manage > Administration > Configuration Check", I get the a white page (=PHP error), and the following in the logfile:

[Fri Oct 30 17:01:40.630999 2020] [php7:warn] [pid 4926] [client 212.95.6.40:8416] PHP Warning:  preg_match() expects parameter 2 to be string, array given in /var/www/providence/app/helpers/utilityHelpers.php on line 518, referer: http://myserver.example.com/providence/index.php/administrate/setup/Interfaces/ListUIs

[Fri Oct 30 17:01:40.682395 2020] [php7:error] [pid 4926] [client 212.95.6.40:8416] PHP Fatal error:  Uncaught Error: Call to undefined function caPhantomJSInstalled() in /var/www/providence/app/lib/Plugins/PDFRenderer/PhantomJS.php:170
Stack trace:
#0 /var/www/providence/app/lib/Print/PDFRenderer.php(132): WLPlugPDFRendererPhantomJS->checkStatus()
#1 /var/www/providence/app/controllers/administrate/setup/ConfigurationCheckController.php(62): PDFRenderer->__construct()
#2 /var/www/providence/app/lib/Controller/RequestDispatcher.php(276): ConfigurationCheckController->DoCheck(NULL)
#3 /var/www/providence/app/lib/Controller/AppController.php(113): RequestDispatcher->dispatch(Array)
#4 /var/www/providence/index.php(121): AppController->dispatch(true)
#5 {main}
  thrown in /var/www/providence/app/lib/Plugins/PDFRenderer/PhantomJS.php on line 170, referer: http://myserver.example.com/providence/index.php/administrate/setup/Interfaces/ListUIs

I've updated the code a few days ago to git branch "develop".
Any ideas what might be causing this?

Thank you very much in advance :smile:

Comments

  • You have an old plugin in your install. Please delete /var/www/providence/app/lib/Plugins/PDFRenderer/PhantomJS.php. It shouldn't be there. PhantomJS is not longer supported as the maintainers seem to have abandoned the underlying application.

  • Ok. Roger that.
    Thanks for the quick reply!

Sign In or Register to comment.