PHP Error on config page

Created on 16 June 2023, about 1 year ago

Problem/Motivation

Can't access Config page. "The website encountered an unexpected error. Please try again later." Get this error in logs:

Error: Call to undefined function Drupal\fillpdf\exec() in Drupal\fillpdf\ShellManager->getInstalledLocales() (line 56 of /home/blah/public_html/foobar/recommended-project/web/modules/contrib/fillpdf/src/ShellManager.php).

Steps to reproduce

Clean D10 install with Token and FillPDF installed.

๐Ÿ› Bug report
Status

Closed: duplicate

Version

5.1

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States jo1ene

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jo1ene
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States jo1ene

    Ok so itโ€™s because exec() is not available on my server. I canโ€™t see that itโ€™s disabled per php.ini but thatโ€™s my issue.

    I did add a if exists statement around the offending exec () call so at least I can access the config page. The only thing is that the locales selection is empty. It stayes that the default is ok so I hope the selection is unnecessary. Please advise.

    I think the possibility of exec() missing or disabled should still be handled.

  • Status changed to Closed: duplicate about 1 year ago
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada Liam Morland Ontario, CA ๐Ÿ‡จ๐Ÿ‡ฆ

    Let's solve these together.

Production build 0.69.0 2024