Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Node.js menu on a migrated subscription in Plesk doesn’t work: Call to a member function getPath() on null

 
applications extensionsbackupdatabasedomainsextensions

Symptoms

  • Unable to open Subscriptions > example.com > Node.js for newly migrated domain:

    Server Error
    500
    Error
    Call to a member function getPath() on null

  • Domain example.com has non-existent ext-nodejs-handlerPath:

    # plesk db "select val from dom_param where param='ext-nodejs-handlerPath' and dom_id=(select id from domains where name='example.com' limit 1);"
    +-----------------------------+
    | val |
    +-----------------------------+
    | /opt/plesk/node/17/bin/node |
    +-----------------------------+

    # ls -l /opt/plesk/node/17/bin/node
    ls: cannot access /opt/plesk/node/17/bin/node: No such file or directory

  • Other Node.js handlers versions are found on the server:

    # ls -1 /opt/plesk/node/*/bin/node
    /opt/plesk/node/10/bin/node
    /opt/plesk/node/12/bin/node
    /opt/plesk/node/14/bin/node
    /opt/plesk/node/16/bin/node

Cause

Product issue:

  • #EXTNODEJS-122 "Opening the extension on domains with non-existent handlers no longer results in external Server Error 500."

    Fixed in:

    • Node.js Toolkit 2.3.6 28 July 2023

Resolution

Please consider updating your server:

  • How to update Plesk extensions

Workaround

If update is not possible for some reason you may try the following

workaround

As a workaround apply one of the following alternatives:

  • Re-install Node.js extension by removing and installing this again with this instructions.

  • Update the the ext-nodejs-handlerPath on the database:

    1. Connect to the server via SSH

    2. Backup the Plesk 'psa' database

    3. Login to the database

      # plesk db

    4. Modify the ext-nodejs-handlerPath to /opt/plesk/node/16/bin/node:

      # update dom_param set val='/opt/plesk/node/16/bin/node' where dom_id=(select id from domains where name='example.com' limit 1) and param='ext-nodejs-handlerPath';

      Note: Change example.com and the node version 16 accordingly based on the versions found on the server.

    5. Log into Plesk

    6. Go to Domains > example.com > Node.js.

    7. Click Disable node.js button.

    8. Click Enabled node.js button.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »

Dynamic List vs. Active List: A Comprehensive Comparison – Unveiling the Ultimate Winner!

Read More »
Knowledge Base

Unable to use NPM install for Node.js application in Plesk: usr/bin/env: ‘node’: No such file or directory

Read More »

Attempt to issue a Let’s Encrypt SSL certificate for a Plesk domain fails: Could not obtain directory: cURL error 77

Read More »

Backup in Plesk finished with warning: Extension “Laravel Toolkit”: Failed to exec backup_restore_helper

Read More »

WordPress instance inside a sub-directory on Plesk server shows “404 Page not found” errors for existing categories or posts

Read More »

Hosting Wiki

  • Django
  • JSON
  • Server Redundancy
  • Google Cloud CDN
  • AMP
  • Bare Metal Server
  • JSP
  • Backup
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • MongoDB
  • Joomla! Toolkit
  • Domain
  • WP Toolkit
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
  • SSH
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family