• Resolved autorun

    (@bacigaloop)


    When updating to the latest version it throws this error,

    Warning: max(): Array must contain at least one element in /srv/users/serverpilot/apps/interno/public/wp-content/plugins/custom-database-tables/lib/webapis.php on line 32
    
    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /srv/users/serverpilot/apps/interno/public/wp-content/plugins/custom-database-tables/lib/webapis.php:32) in /srv/users/serverpilot/apps/interno/public/wp-content/plugins/custom-database-tables/lib/main.php on line 222
    
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /srv/users/serverpilot/apps/interno/public/wp-content/plugins/custom-database-tables/lib/webapis.php:32) in /srv/users/serverpilot/apps/interno/public/wp-content/plugins/custom-database-tables/lib/main.php on line 222
    
    Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/interno/public/wp-content/plugins/custom-database-tables/lib/webapis.php:32) in /srv/users/serverpilot/apps/interno/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://www.ads-software.com/plugins/custom-database-tables/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ka2

    (@ka2)

    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,

    Thread Starter autorun

    (@bacigaloop)

    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!

    Plugin Author ka2

    (@ka2)

    This ticket was closed to have corresponded already.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘session_start(): Cannot send session cookie – headers already sent’ is closed to new replies.