Error with default install of WP and Scheduler

Hi,

I have a default install of WP and added Scheduler (plugin) but get this error:

[code]Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/
wordpress/wp-settings.php
on line 219
$wp_the_query =& new WP_Query();

Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/
wordpress/wp-settings.php
on line 234
$wp_rewrite =& new WP_Rewrite();

Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/
wordpress/wp-settings.php
on line 241
$wp =& new WP();

Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/
wordpress/wp-settings.php
on line 248
$wp_widget_factory =& new WP_Widget_Factory();

Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/
wordpress/wp-settings.php
on line 273
$wp_locale =& new WP_Locale();

Deprecated: Function set_magic_quotes_runtime() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/wordpress/
wp-settings.php
on line 27
set_magic_quotes_runtime( 0 );

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/wordpress/
wp-settings.php:219) in /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/plugins/event-calendar-scheduler/codebase/connector/base_connector.php on line 37

<?xml version='1.0' encoding='utf-8' ?> [/code]

Using BBEdit (Mac) there is some unusual characters displayed either at the beginning or end of each CDATA line.

Others using XAMPP have also had the same type of errors:
wordpress.org/support/topic/plug … r-settings

Could it be related to file permission issues within the XAMPP environment?

I’m not that familiar with WordPress as it’s the first time I’ve used it. But these errors happen when viewing the plugin in admin panel, when viewing the scheduler page or adding an event.

XAMPP v1.7.3
MySQL:
Server: Localhost via UNIX socket
Server version: 5.1.44
Protocol version: 10
MySQL charset: UTF-8 Unicode (utf8)

Web server:
Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1
MySQL client version: 5.1.44
PHP extension: mysql

Wordpress 3.1
Scheduler 2.0 and 2.3
Numerous dropped databases and clean installs of WP.

Cheers!

Deprecated headers generated by other parts of WP code, which is outside of scheduler logic. But they are corrupt output , which blocks normal data feed functionality.

You can adjust error output settings in php.ini file, similar to

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Hi, thanks for that. I did try editing php.ini but still got the errors (and MySQL crashing). I posted to the XAMPP forum and someone suggested adding the following to wp-config.php:

// Hide E_DEPRECATED messages. if (defined('E_DEPRECATED')) { error_reporting(error_reporting() & ~E_DEPRECATED); }

Now working great - no errors at all. :slight_smile: