unfulvio / wp-php-console Goto Github PK
View Code? Open in Web Editor NEW:pager: Implementation of PHP Console for WordPress.
Home Page: https://wordpress.org/plugins/wp-php-console/
License: GNU General Public License v3.0
:pager: Implementation of PHP Console for WordPress.
Home Page: https://wordpress.org/plugins/wp-php-console/
License: GNU General Public License v3.0
Wordpress WPMU: 4.2.2
Theme: Twenty Fifteen
PHP: 5.4.40
All other plugins deactivated.
This error occurs at the bottom of the page:
Cannot send session cache limiter - headers already sent (output started at /home/odio/public_html/wp-includes/functions.php:3282) in /home/odio/public_html/wp-content/plugins/wp-php-console/vendor/php-console/php-console/src/PhpConsole/Storage/Session.php on line 25
In the Settings menu, the WP PHP Console isn't there, but the above error message is at the bottom of the page.
These are all pretty old and should be updated.
Hi,
We are getting into some cases where PHP console is failed to collect the errors.
It is even throwing undefined PC class error if used as an open statement (without any callbacks) or any hook above 'init'.
I think it's better to move it on plugins_loaded with priority in negative as it might catch errors that cause during loading of plugins/themes.
What do you think?
Thanks for this nice integration into WP.
To avoid configuring an IDE, it would be nice to integrate the Jump to File feature with WordPress and have the option to open the file through the /wp-admin/plugin-editor.php
See https://wordpress.org/support/topic/sitehealth-curl-error-28/#post-11708951
Low priority.
This is a fantastic plugin for debugging, but unfortunately it breaks some core WordPress functionality. When this plugin is active, it's not possible to save php-files through the WordPress theme/plugin editor. The save request always times out after 10 seconds . (Non-php files can be saved without problems.)
This issue also shows up in WordPress' Health Check as a failed loopback request:
The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors.
Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received
When I try to execute from the console, I get the error indicating that the request signature does not match the signature generated by the php console library (in Auth.php).
Plugin is installed. Password is set. I am receiving E_NOTICE, E_WARNING, etc. in my console. So I know it is working.
I tried the IP address mask field (, *..., my own IP, blank, etc.) - they all result in the same error
I am able to use http://162.250.145.84/php-console/examples/features/eval_terminal.php without issues, so the chrome extension is working properly.
I tried two different wordpress installs on two different hosting providers, same error.
Hi Fulvio,
First I'd like to thank you for creating such a useful plugin for PHP developers in WP. I've read in your plugin page the reason why I'm getting the error Fatal error: Uncaught Error: Class 'PC' not found
, but I could not understand 100% how to solve it.
When you write that we can use the following code bellow, where exactly should I place it in?
// PHP Console autoload
require_once dirname( __FILE__ ) . '/wp-php-console/vendor/autoload.php';
// make PC class available in global PHP scope
if ( ! class_exists( 'PC', false ) ) PhpConsole\Helper::register();
It would be nice to have an option in WP PHP Console Settings to activate this code:
// reduce displayed SourcesPath
$connector = PhpConsole\Connector::getInstance();
$connector->setSourcesBasePath($_SERVER['DOCUMENT_ROOT']);
Hi there ,
I got the following fatal error:
Fatal error: Uncaught exception 'Exception' with message 'PhpConsole\Connector::setPostponeStorage can be called only before PhpConsole\Connector::getInstance()' in plugins\wp-php-console\vendor\php-console\php-console\src\PhpConsole\Connector.php:80 Stack trace: #0 plugins\wp-php-console\lib\class-wp-php-console.php(73):
Thanks
The linked Chrome Extension no longer exists in the Chrome store. Any place else to download it or reason why it was removed?
this seems an error that creeped out again
PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /...path.../wp-includes/functions.php:3549) in /...path.../wp-content/plugins/wp-php-console/vendor/php-console/php-console/src/PhpConsole/Storage/Session.php on line 25
does not inhibit plugin functionalities and error is suppressed in Chrome console... but will show up and pollute logs
It continues to work. whatever I enter in Admin / Settings / PHP Console / Allowed IP Mask
The Protect connection by list of allowed IP masks
does not work as documented in
https://github.com/barbushin/php-console#protect-connection-by-list-of-allowed-ip-masks
Hi,
The plugin needs to be updated to the latest WordPress version in order to ignore this error on wordpress.org.
Thanks!
Got the following error when I tried to activate the plugin
Notice: Undefined index: args in /vagrant/wp/wp-includes/functions.php
on line 4311
Warning: require_once(/vagrant/content/plugins/wp-php-console-
master/lib/php-console/src/PhpConsole/__autoload.php): failed to open
stream: No such file or directory in /vagrant/content/plugins/wp-php-
console-master/wp-php-console.php on line 28
Fatal error: require_once(): Failed opening required
'/vagrant/content/plugins/wp-php-console-master/lib/php-
console/src/PhpConsole/__autoload.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/vagrant/content/plugins/wp-php-console-master/wp-php-console.php on
line 28
The vagrant installation is https://github.com/Chassis/Chassis
It seems like the developer of php console kinda abandoned it. The current version doesn't work on PHP 8. Could you please include this merge request to the code this plugin uses?
Hello, I would like to ask if you could make a small update of the plugin for the php version above version 8, now the plugin works with version 8. But it returns a lot of warnings to the page
Warning: Private methods cannot be final as they are never overridden by other classes in D:\OpenServer\domains\fansy.loc\web\app\plugins\wp-php-console\vendor\php-console\php-console\src\PhpConsole\Connector.php on line 101
Deprecated: Required parameter $args follows optional parameter $key in D:\OpenServer\domains\fansy.loc\web\app\plugins\wp-php-console\vendor\php-console\php-console\src\PhpConsole\Connector.php on line 377
Warning: Private methods cannot be final as they are never overridden by other classes in D:\OpenServer\domains\fansy.loc\web\app\plugins\wp-php-console\vendor\php-console\php-console\src\PhpConsole\Auth.php on line 106
Warning: Private methods cannot be final as they are never overridden by other classes in D:\OpenServer\domains\fansy.loc\web\app\plugins\wp-php-console\vendor\php-console\php-console\src\PhpConsole\Handler.php on line 55
Hi there,
I'm getting the following notice:
E_NOTICE Undefined offset: 0
/wp-includes/capabilities.php 127.
Thanks
Hey,
this is what i get over and over again:
Warning: require_once(DIR/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /home/talgui5/public_html/moti/wp-content/plugins/wp-php-console-master/vendor/autoload.php on line 5
Fatal error: require_once() [function.require]: Failed opening required 'DIR/composer/autoload_real.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/talgui5/public_html/moti/wp-content/plugins/wp-php-console-master/vendor/autoload.php on line 5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.