-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Error: get_class() expects parameter 1 to be object, string given" #7
Comments
Hmm I've never seen this one before. The only place the plugin calls To do this, drop a <?php
require("common.php");
parse( "echo 'test';");
?> Then run it from the command line by doing Let me know what happens. Thanks. |
Hi Jerod, Thanks for your suggestions. "Error: get_class() expects parameter 1 to be object, string given" I also installed wordpress and the console plugin on a Windows 7 system. Since both are fresh installs on completely different platforms, could I can give you access to either or both of these systems if that would help. Thanks again, Gert On 07/12/11 02:32, Jerod Santo wrote:
|
The Windows machine may have the problem described in issue #6. For your Linux box: there are 3 lines in common.php that call That might help us track it down. Thanks. |
Hi Jerod, Sorry for the delay. Xmas and things. I did as you suggested:
But the behaviour is exactly the same and don't see any debug output. I installed the same plugin on our hosted web site too and there it If you want me to do some more tests please let me know. Thanks. Gert On 10/12/11 23:44, Jerod Santo wrote:
|
Have the same issue here. Mac OS X, PHP 5.3.6, Wordpress 3.3.1 |
I installed the plugin following the instructions, activated it. It displays correctly but any php code I execute, even the simplest results in:
"Error: get_class() expects parameter 1 to be object, string given"
Any hits as to what could be wrong? Anything I can do to debug this error?
Here's my environment info:
Wordpress version: 3.2.1
wordpress-console version: 0.3.7
Server version: Apache/2.2.20 (Ubuntu) built: Nov 7 2011 22:48:05
PHP version: 5.3.6-13ubuntu3.2 with Suhosin-Patch (cli) (built: Oct 13 2011 23:19:13)
The text was updated successfully, but these errors were encountered: