HomePage Forums Traveler Error when updating Excursions

Topic Resolution: Resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Bryan 3 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14469

    Hi guys, when I create or edit excursion or activities and press Publish or Update to save and publish changes I get this error, when you press back in browser to be taken to the previous page, the changes are saved (fortunately).

    You can try to change a point or so and press save and give this error, same in chrome windows or safari mac.

    Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/bookingc/public_html/wp-includes/wp-db.php on line 1102

    Warning: Cannot modify header information – headers already sent by (output started at /home/bookingc/public_html/wp-includes/wp-db.php:1102) in /home/bookingc/public_html/wp-admin/post.php on line 198

    Warning: Cannot modify header information – headers already sent by (output started at /home/bookingc/public_html/wp-includes/wp-db.php:1102) in /home/bookingc/public_html/wp-includes/pluggable.php on line 1216

    I gave you admin credentials to check

    Thanks a lot

    #14480

    Hello

    That is just warning message of php structure. Don’t worry, it does not effect on theme functions.

    You can hide it by turn debug off.

    define( 'WP_DEBUG', false );
    @ini_set( 'display_errors', 0 );

    The following code, inserted in your wp-config.php file.

    Thanks

    #14532

    Hi Bryan, i did that and get an error since de debug was previously defined in wp-config.php
    So i just added one line below the debug line and all worked right, he working code is this.

    define('WP_DEBUG', false);
    @ini_set( 'display_errors', 0 );
    define( 'WP_MEMORY_LIMIT', '128M' );

    Thanks a lot

    #14565

    Hello

    That mean this code: define(‘WP_DEBUG’, false); has existed in the wp-config file. Please remove one of it then check again.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Traveler’ is closed to new topics and replies.