Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 494
    • Issues 494
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 32
    • Merge Requests 32
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #5730

Closed
Open
Opened Sep 11, 2020 by Reinhard Schneidewind@schnere

Let's Encrypt: Call to undefined function get_domain()

short description

When trying to add a Let's Encrypt certificate for a sub-sub domain (e.g. www.test.example.com) I get the error below running /usr/local/ispconfig/server/server.sh . The error does not occur using a domain containing less or equal 2 dots (because of not using the get_domain function in this case).

environment

Server OS: Ubuntu Server OS version: 20.04 ISPConfig version: 3.2 Beta 1

PHP Fatal error:  Uncaught Error: Call to undefined function get_domain() in /usr/local/ispconfig/server/lib/classes/letsencrypt.inc.php:386
Stack trace:
#0 /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php(1275): letsencrypt->request_certificates()
#1 /usr/local/ispconfig/server/lib/classes/plugins.inc.php(120): apache2_plugin->update()
#2 /usr/local/ispconfig/server/mods-available/web_module.inc.php(139): plugins->raiseEvent()
#3 /usr/local/ispconfig/server/lib/classes/modules.inc.php(302): web_module->process()
#4 /usr/local/ispconfig/server/lib/classes/modules.inc.php(235): modules->raiseTableHook()
#5 /usr/local/ispconfig/server/server.php(180): modules->processDatalog()
#6 {main}
  thrown in /usr/local/ispconfig/server/lib/classes/letsencrypt.inc.php on line 386
Assignee
Assign to
3.2
Milestone
3.2
Assign milestone
Time tracking
None
Due date
None
Reference: ispconfig/ispconfig3#5730