ka2 on "[Plugin: Custom DataBase Tables] session_start(): Cannot send session cookie - headers already sent"

ساخت وبلاگ

When updating to the latest version it throws this error,

Waing: max(): Array must contain at least one element in /srv/users/serverpilot/apps/inteo/public/wp-content/plugins/custom-database-tables/lib/webapis.php on line 32
Waing: session_start(): Cannot send session cookie - headers already sent by (output started at /srv/users/serverpilot/apps/inteo/public/wp-content/plugins/custom-database-tables/lib/webapis.php:32) in /srv/users/serverpilot/apps/inteo/public/wp-content/plugins/custom-database-tables/lib/main.php on line 222
Waing: session_start(): Cannot send session cache limiter - headers already sent (output started at /srv/users/serverpilot/apps/inteo/public/wp-content/plugins/custom-database-tables/lib/webapis.php:32) in /srv/users/serverpilot/apps/inteo/public/wp-content/plugins/custom-database-tables/lib/main.php on line 222
Waing: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/inteo/public/wp-content/plugins/custom-database-tables/lib/webapis.php:32) in /srv/users/serverpilot/apps/inteo/public/wp-includes/pluggable.php on line 1196

---

My setup is:
WORDPRESS: 4.2.2
PHP INFO: 5.5.33 | SAPI: fpm-fcgi
SERVER: Apache/2.4.18 (Unix) OpenSSL/1.0.1f
PHP TIME LIMIT: (0) no time limit imposed
PHP MAX MEMORY: 5000M (256M default)
MEMORY STACK: 8.25MB

https://wordpress.org/plugins/custom-database-tables/

Thank you very much for reporting.

I found a bug of conversion processing of options to 2.x from version 1.x.
I'm going to release a fix in the next version.

For now, please try to the first aid by source modification of the following.

$_max_host_id = ! empty( $_api_hosts ) ? max( array_keys( $_api_hosts ) ) : 0;

Modify place is a 32-line of the "plugins/custom-database-tables/lib/webapis.php".

Thank you,

Thanks for your fast feedback.
And thanks for your plugin. It makes WordPress really powerful.

I'll try the patch on line 32, and wait for the next release.
Cheers!

This ticket was closed to have corresponded already.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 121 تاريخ : سه شنبه 7 ارديبهشت 1395 ساعت: 11:35