From:  pear-qa@lists.php.net ("tony@marston-home.demon.co.uk")
Date:  13 Oct 2015 17:11:06 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #20961 [Com]: Call to undefined method PEAR::PEAR_Command_Common()

NNTP-Posting-Host:  null

Edit report at https://pear.php.net/bugs/bug.php?id=20961&edit=1

 ID:               20961
 Comment by:       tony@marston-home.demon.co.uk
 Reported By:      tony at marston-home dot demon dot co dot uk
 Summary:          Call to undefined method PEAR::PEAR_Command_Common()
 Status:           Feedback
 Type:             Bug
 Package:          PEAR
 Operating System: Windows 7
 Package Version:  1.10.0
 PHP Version:      5.6.14
 Roadmap Versions: 
 New Comment:

Here is a backtrace:







This application has encountered an unrecoverable error

The following has been reported to the administrator:

2015-10-13 09:05:01

Fatal Error: Call to undefined method PEAR::PEAR_Command_Common() (# 256)

Error in line 219 of file 'F:\PHP5\pear\PEAR.php'.

PHP_SELF: /pearfrontendweb.php

CURRENT DIRECTORY: F:\PHP5\pear

SERVER_ADDR: 127.0.0.1

SERVER_NAME: local.pear.net

HTTP_HOST: local.pear.net

REMOTE_ADDR: 127.0.0.1

REMOTE_HOST: ajm-fujitsu

REQUEST_URI: /pearfrontendweb.php?command=list-packages

Page Stack:

Backtrace:

0: array =
  function: string = errorHandler
  args: array =
    0: integer = 256
    1: string = Call to undefined method PEAR::PEAR_Command_Common()
    2: string = F:\PHP5\pear\PEAR.php
    3: integer = 219
    4: object = PEAR_Command_Categories
1: array =
  file: string = F:\PHP5\pear\PEAR.php
  line: integer = 219
  function: string = trigger_error
  args: array =
    0: string = Call to undefined method PEAR::PEAR_Command_Common()
    1: integer = 256
2: array =
  file: string = F:\PHP5\pear\PEAR\Command\Categories.php
  line: integer = 118
  function: string = __call
  class: string = PEAR
  type: string = ->
  args: array =
    0: string = PEAR_Command_Common
    1: array =
3: array =
  file: string = F:\PHP5\pear\PEAR\Command\Categories.php
  line: integer = 118
  function: string = PEAR_Command_Common
  class: string = PEAR_Command_Common
  type: string = ->
  args: array =
4: array =
  file: string = F:\PHP5\pear\PEAR\Command.php
  line: integer = 133
  function: string = PEAR_Command_Categories
  class: string = PEAR_Command_Categories
  type: string = ->
  args: array =
5: array =
  file: string = F:\PHP5\pear\pearfrontendweb.php
  line: integer = 393
  function: string = factory
  class: string = PEAR_Command
  type: string = ::
  args: array =
    0: string = list-packages

Previous Comments: ------------------------------------------------------------------------ [2015-10-13 09:32:28] tonymarston Yes, it is a Windows PC. My OS is Windows 7. PEAR does have a web interface. It is called PEAR_Frontend_Web and has been available since 2003 and was last updated on 2010-10-25. It is maintained by Tias Guns and Gregory Beaver. I will try to produce a stack trace and send it to you ------------------------------------------------------------------------ [2015-10-08 12:56:36] cweiske -Status: Open +Status: Feedback ------------------------------------------------------------------------ [2015-10-08 12:56:29] cweiske What kind of installation do you have? It looks like a windows PC. What "link" do you follow? PEAR itself does not have a web interface; you seem to be using some additional (web-based) software. Which? Could you install the xdebug PHP extension and repeat the link click? It should show you a full stacktrace that we need to fix the problem. ------------------------------------------------------------------------ [2015-10-08 12:24:51] tonymarston Description: ------------ I have just upgraded my pear installation to version 1.10.0, but when I use the Pear Package Manager and click on the "List all packagenames" link I get the following error: Fatal error: Call to undefined method PEAR::PEAR_Command_Common() in F:\PHP5\pear\PEAR.php on line 219 ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=20961&edit=1