I have a DRUPAL 6.14 “development” site running on a Windows XP SP 3.0 machine that used to work fine with XAMPP version 1.6.8.
I just upgraded XAMPP to 1.7.2. PROBLEMS: Now getting a lot of errors like:
“warning: Attempt to modify property of non-object in C:\site location\somephpfile.inc”
The error occurs repeatedly, as in hundreds of times. Not all modules, but lots of them.
Also, now get:
“warning: Parameter 2 to xxxxxform() expected to be a reference, value given in c:\site location\somephpfile.inc”
It looks like PHP 5.3 may work a bit differently from its ancestors (not sure which version was bundled in XAMPP 1.6.8.)
After installing XAMPP 1.7.2 and Drupal 6.14, I ran update.php, which obviously does some things to the database.
After trying to run the new setup and getting tons of errors, I tried rolling back to a couple of older versions of XAMPP, but in each case, MySQL did not seem to want to work correctly (like it wouldn’t even start.) VERY SCARY. CONCLUSION: update.php had changed my database into a later version of MySQL (or something, not sure.) I had backups of everything so no worries. XAMPP 1.7.2 comes with MySQL server 5.139.
I found a few discussions on similar problems, but most of them required fixing code inside the various modules. I had too many offending modules. Also, I did not want to “hack” them.
My final solution was to rename my XAMPP directory to XAMPP_HOLD (or anything else). Then I installed a fresh copy of XAMPP 1.7.1 (Get it from Sourceforge.) It comes with PHP 5.2.9 and MySQL 5.137.
I then renamed the mysql directory inside (the new) XAMPP (1.7.1) to MySqlhold (or anything else). Next, I copied the Mysql directory from the (old) XAMPP_HOLD (1.7.2) copy of XAMPP and installed it into the (new) XAMPP (1.7.1) directory.
Finally, I copied my test site’s Directory from the (old) XAMPP_HOLD/htdocs folder into the new XAMPP/htdocs folder.
RESULT: Everything works fine now. XAMPP 1.7.1 runs with PHP 5.2.9. Which handles the DRUPAL modules with no errors. It looks like MySQL 5.137 is close enough to MySQL 5.139 so that I have not had any problems yet. I’m not sure if update.php even messes with this, so maybe I’m worrying about something that doesn’t matter.
I’m wondering if all the Drupal Module developers know that this is a problem. MORAL: Avoid PHP 5.3.0 on a production server until you are sure the DRUPAL module is PHP 5.3.0 compliant.
This seems to be a possibly BIG PROBLEM.

Comments

Anonymous’s picture

This will catch a lot of people out.

XAMPP and WampServer installs PHP 5.3.0, which causes problems with Drupal.

Users of XAMPP and WampServer need to be aware of this and install older versions...

Thanks taking the time to post the workaround

dman’s picture

Good fix, but I'd be interested to know just how many modules were really having problems with PHP5.3
Although you'd see hundreds of warnings, I'm pretty sure that would be the same handful a few dozen times.
And I'd think that the changes needed (like declaring objects as objects before accessing their attributes) should be small backwards compatible fixes that could be pinged into the respective module queues.

I understand that it's a big job, but posting one or two issues when you notice them would be steps towards the future. This is something we are going to need to start addressing globally, so getting a leg up on it would be cool.
Trivial compatibility or style fixes are the easiest to roll in, for any module maintainer.

CAZephyr’s picture

Supposedly php 5.3 will only work with drupal 6.14 and later, but obviously a number of modules are not yet ready. Could you make a list of modules you had problems with, and hopefully we can get the module owners to work their magic.

Feckless’s picture

I think I might have saved some logs. Also, wrote down a few notes on this. If need be, I'll revert to the problem setup and go over each module, etc. to see which ones (that I have) are having trouble. As I recall, "Calendar" was for surre having problems; and was generating lots of errors (same error with a different line number.) I really just bailed because my screen was just full of pink errors all the time.

It does not take that long to revert, but I won't get back here until tonight: maybe around 5:00 PM EST. I'll post a list.

Feckless’s picture

It looks like not that many modules are in trouble with PHP 5.3.0 after all. When I first brought my site up, the first 3 groups below, involving date_plugin_display_attachment.inc, calendar_plugin_display_page.inc, calendar_plugin_display_attachment.inc, ALL REPEATED FOUR TIMES.
This led me to think there were many more modules that were messed up.

I went through almost every link on the site and ran all the admin programs etc. and can only get the list that appears below. The first three (groups) always appear at least twice when I load the page that has the calendar on it. They also appear once in a while in pages that do not have the calendar. However, when they appear, the always repeat. Not sure why.

The following is a list of installed modules:

==========================================B E G I N N I N G O F I N S T A L L E D M O D U L E L I S T===========================================

Administration menu 6.x-1.5 Provides a dropdown menu to most administrative tasks and other common destinations (to users with the proper permissions).
Contrib Toggle 6.x-1.3 Dynamic management of dependent and required modules. Provides a button to mark all non-core modules for deactivation.
CCK
Content 6.x-2.5 Allows administrators to define new content types.
Required by: Content Copy (disabled), Content Permissions (enabled), Date (enabled), Date Tools (enabled), Email (enabled), Fieldgroup (enabled), FileField (enabled), FlashVideo CCK (enabled), Formatted Number CCK (enabled), Node Reference (disabled), Number (enabled), Option Widgets (enabled), Phone - CCK (enabled), Text (enabled), User Reference (disabled), Zipcode - CCK (enabled), FileField Meta (disabled)
Content Copy 6.x-2.5 Enables ability to import/export field definitions.
Depends on: Content (enabled)
Content Permissions 6.x-2.5 Set field-level permissions for CCK fields.
Depends on: Content (enabled)
Email 6.x-1.2 Defines an email field type for cck
Depends on: Content (enabled)
Fieldgroup 6.x-2.5 Create display groups for CCK fields.
Depends on: Content (enabled)
FileField 6.x-3.1 Defines a file field type.
Depends on: Content (enabled)
Required by: FileField Meta (disabled)
FileField Meta 6.x-3.1 Add metadata gathering and storage to FileField.
Depends on: FileField (enabled), Getid3 (missing), Content (enabled)
Formatted Number CCK 6.x-1.3 Defines CCK numeric types where thousands separator and decimal point are inherited from the Format Number API module.
Depends on: Content (enabled), Format Number API (enabled)
Node Reference 6.x-2.5 Defines a field type for referencing one node from another.
Depends on: Content (enabled), Text (enabled), Option Widgets (enabled)
Number 6.x-2.5 Defines numeric field types.
Depends on: Content (enabled)
Option Widgets 6.x-2.5 Defines selection, check box and radio button widgets for text and numeric fields.
Depends on: Content (enabled)
Required by: Node Reference (disabled), User Reference (disabled)
Phone - CCK 6.x-2.9 The phone module allows administrators to define a CCK field type for phone numbers.
Depends on: Content (enabled)
Text 6.x-2.5 Defines simple text field types.
Depends on: Content (enabled)
Required by: Node Reference (disabled), User Reference (disabled)
User Reference 6.x-2.5 Defines a field type for referencing a user from a node.
Depends on: Content (enabled), Text (enabled), Option Widgets (enabled)
Zipcode - CCK 6.x-2.6 The zipcode module allows administrators to define a field type for zip or postal codes. Note: Requires content.module
Depends on: Content (enabled)
Chaos tool suite
Bulk Export 6.x-1.0 Performs bulk exporting of data objects known about by Chaos tools.
Depends on: Chaos tools (enabled)
Chaos tools 6.x-1.0 A library of helpful tools by Merlin of Chaos.
Required by: Bulk Export (disabled), Chaos Tools (CTools) Plugin Example (enabled), Page manager (enabled), Panels (enabled), Views content panes (enabled), Mini panels (enabled), Panel nodes (disabled)
Chaos Tools (CTools) Plugin Example 6.x-1.0 Shows how an external module can provide ctools plugins (for Panels, etc.).
Depends on: Chaos tools (enabled), Panels (enabled), Page manager (enabled), Advanced help (enabled)
Page manager 6.x-1.0 Provides a UI and API to manage pages within the site.
Depends on: Chaos tools (enabled)
Required by: Chaos Tools (CTools) Plugin Example (enabled)
Views content panes 6.x-1.0 Allows Views content to be used in Panels, Dashboard and other modules which use the CTools Content API.
Depends on: Chaos tools (enabled), Views (enabled)
Core - optional
Aggregator 6.14 Aggregates syndicated content (RSS, RDF, and Atom feeds).
Blog 6.14 Enables keeping easily and regularly updated user web pages or blogs.
Blog API 6.14 Allows users to post content using applications that support XML-RPC blog APIs.
Book 6.14 Allows users to structure site pages in a hierarchy or outline.
Color 6.14 Allows the user to change the color scheme of certain themes.
Comment 6.14 Allows users to comment on and discuss published content.
Required by: Forum (disabled), Tracker (disabled)
Contact 6.14 Enables the use of both personal and site-wide contact forms.
Content translation 6.14 Allows content to be translated into different languages.
Depends on: Locale (enabled)
Database logging 6.14 Logs and records system events to the database.
Forum 6.14 Enables threaded discussions about general topics.
Depends on: Taxonomy (enabled), Comment (disabled)
Help 6.14 Manages the display of online help.
Locale 6.14 Adds language handling functionality and enables the translation of the user interface to languages other than English.
Required by: Date Locale (enabled), Content translation (disabled)
Menu 6.14 Allows administrators to customize the site navigation menu.
Required by: Dynamic persistent menu (enabled), Nice Menus (disabled)
OpenID 6.14 Allows users to log into your site using OpenID.
Path 6.14 Allows users to rename URLs.
Required by: Pathauto (enabled)
PHP filter 6.14 Allows embedded PHP code/snippets to be evaluated.
Ping 6.14 Alerts other sites when your site has been updated.
Poll 6.14 Allows your site to capture votes on different topics in the form of multiple choice questions.
Profile 6.14 Supports configurable user profiles.
Search 6.14 Enables site-wide keyword searching.
Statistics 6.14 Logs access statistics for your site.
Syslog 6.14 Logs and records system events to syslog.
Taxonomy 6.14 Enables the categorization of content.
Required by: Forum (disabled), Image Gallery (enabled)
Throttle 6.14 Handles the auto-throttling mechanism, to control site congestion.
Tracker 6.14 Enables tracking of recent posts for users.
Depends on: Comment (disabled)
Trigger 6.14 Enables actions to be fired on certain system events, such as when new content is created.
Update status 6.14 Checks the status of available updates for Drupal and your installed modules and themes.
Upload 6.14 Allows users to upload and attach files to content.
Required by: FlashVideo (enabled), FlashVideo CCK (enabled), FlashVideo Amazon S3 Plugin (disabled), FlashVideo Views (enabled)
Core - required
Block 6.14 Controls the boxes that are displayed around the main content.
Filter 6.14 Handles the filtering of content in preparation for display.
Node 6.14 Allows content to be submitted to the site and displayed on pages.
System 6.14 Handles general site configuration for administrators.
User 6.14 Manages the user registration and login system.
Date/Time
Calendar 6.x-2.2 Views plugin to display views containing dates as Calendars.
Depends on: Views (enabled), Date API (enabled), Date Timezone (enabled)
Required by: Calendar iCal (disabled), Calendar Popup (enabled)
Calendar iCal 6.x-2.2 Adds ical functionality to Calendar views.
Depends on: Views (enabled), Date API (enabled), Calendar (enabled), Date Timezone (enabled)
Calendar Popup 6.x-2.2 Replaces the links to calendar items with a javascript popup that gracefully regresses if javascript is not enabled
Depends on: Calendar (enabled), Views (enabled), Date API (enabled), Date Timezone (enabled)
Date 6.x-2.4 Defines CCK date/time fields and widgets.
Depends on: Content (enabled), Date API (enabled), Date Timezone (enabled)
Required by: Date Tools (enabled)
Date API 6.x-2.4 A Date API that can be used by other modules.
Required by: Calendar (enabled), Calendar iCal (disabled), Date (enabled), Date Locale (enabled), Date PHP4 (disabled), Date Popup (enabled), Date Repeat API (enabled), Date Timezone (enabled), Date Tools (enabled), Calendar Popup (enabled)
Date Locale 6.x-2.4 Allows the site admin to configure multiple formats for date/time display to tailor dates for a specific locale or audience.
Depends on: Date API (enabled), Locale (enabled)
Date PHP4 6.x-2.4 Emulate PHP 5.2 date functions in PHP 4.x, PHP 5.0, and PHP 5.1. Required when using the Date API with PHP versions less than PHP 5.2.
Depends on: Date API (enabled)
Date Popup 6.x-2.4 Enables jquery popup calendars and time entry widgets for selecting dates and times.
Depends on: Date API (enabled), Date Timezone (enabled)
Date Repeat API 6.x-2.4 A Date Repeat API to calculate repeating dates and times from iCal rules.
Depends on: Date API (enabled)
Date Timezone 6.x-2.4 Needed when using Date API. Overrides site and user timezone handling to set timezone names instead of offsets.
Depends on: Date API (enabled)
Required by: Calendar (enabled), Date (enabled), Date Popup (enabled), Calendar iCal (disabled), Date Tools (enabled), Calendar Popup (enabled)
Date Tools 6.x-2.4 Tools to import and auto-create dates and calendars.
Depends on: Content (enabled), Date (enabled), Date API (enabled), Date Timezone (enabled)
Drupal for Firebug
Drupal for Firebug 6.x-1.3 A helper extension for the Drupal for Firebug Firefox extension addon
Depends on: Drupal for Firebug Preprocessor (enabled)
Drupal for Firebug Preprocessor 6.x-1.3 A helper extension for the Drupal for Firebug Firefox extension to do preprocessing of forms
Required by: Drupal for Firebug (enabled)
FlashVideo
FlashVideo 6.x-1.4 Provides a way to attach Flash videos to any node type.
Depends on: Upload (enabled)
Required by: FlashVideo CCK (enabled), FlashVideo Amazon S3 Plugin (disabled), FlashVideo Views (enabled)
FlashVideo Amazon S3 Plugin 6.x-1.4 Adds Amazon S3 support
Depends on: FlashVideo (enabled), Upload (enabled)
FlashVideo CCK 6.x-1.4 Provides a plugin to allow CCK parameters to overide FlashVideo functionality.
Depends on: Content (enabled), FlashVideo (enabled), Upload (enabled)
FlashVideo Views 6.x-1.4 Provides a plugin to allow Views functionality to the FlashVideo Module
Depends on: Views (enabled), FlashVideo (enabled), Upload (enabled)
Image
Image 6.x-1.0-beta3 Allows uploading, resizing and viewing of images.
Required by: Image Attach (enabled), Image Gallery (enabled), Image Import (enabled), Image assist (enabled)
Image assist 6.x-1.1 This module allows users to upload and insert inline images into posts. It automatically generates an Add image link under the textarea fields of your choice.
Depends on: Image (enabled)
Image Attach 6.x-1.0-beta3 Allows easy attaching of image nodes to other content types.
Depends on: Image (enabled)
Image Gallery 6.x-1.0-beta3 Allows sorting and displaying of image galleries based on categories.
Depends on: Image (enabled), Taxonomy (enabled)
Image Import 6.x-1.0-beta3 Allows batches of images to be imported from a directory on the server.
Depends on: Image (enabled)
ImageMagick Advanced Options 6.x-1.0-beta3 Adds advanced options to the ImageMagick image toolkit.
Invite
Cancel User Accounts 6.x-2.x-dev Allows your users to terminate user accounts by withdrawing their invitation. WARNING - This module is put into effect when you enable it.
Depends on: Invite (disabled), Token (enabled)
Invite 6.x-2.x-dev Allow your users to send and track invitations to join your site.
Depends on: Token (enabled)
Required by: Cancel User Accounts (disabled), Invite Statistics (disabled)
Invite Statistics 6.x-2.x-dev Displays some statistics about sent invitations.
Depends on: Invite (disabled), Token (enabled)
Other
Advanced help 6.x-1.2 Allow advanced help and documentation.
Required by: Chaos Tools (CTools) Plugin Example (enabled), Advanced help example (enabled)
Advanced help example 6.x-1.2 A example help module to demonstrate the advanced help module.
Depends on: Advanced help (enabled)
Backup and Migrate 6.x-1.2 Backup or migrate the Drupal Database quickly and without unnecessary data.
Dynamic persistent menu 6.x-1.1 A menu with an horizontal animated submenu.
Depends on: Menu (enabled)
FCKeditor 6.x-1.4 Enables the usage of FCKeditor (WYSIWYG) instead of plain text fields.
Format Number API 6.x-1.5 This module provides a method to configure number formats (site default and user defined) with configurable decimal point and thousand separators. It also exposes several functions that can be used by other contributed or custom modules to display numbers accordingly.
Required by: Formatted Number CCK (enabled)
Header Image 6.x-1.x-dev Displays an image in a header block.
Login destination 6.x-2.3 Control where users are directed to once they login.
Mollom 6.x-1.7 Protects against comment and contact form spam.
Nice Menus 6.x-1.3 CSS/jQuery drop-down, drop-right and drop-left menus to be placed in blocks
Depends on: Menu (enabled)
Pathauto 6.x-1.1 Provides a mechanism for modules to automatically generate aliases for the content they manage.
Depends on: Path (enabled), Token (enabled)
Quick Tabs 6.x-2.0-rc3 Create blocks of tabbed views, blocks and nodes.
SWF Embed 6.x-1.0 Add SWF (ShockWave Flash) files to your site.
Token 6.x-1.12 Provides a shared API for replacement of textual placeholders with actual data.
Required by: Invite (disabled), Pathauto (enabled), TokenSTARTER (disabled), Token actions (disabled), Cancel User Accounts (disabled), Invite Statistics (disabled)
Token actions 6.x-1.12 Provides enhanced versions of core Drupal actions using the Token module.
Depends on: Token (enabled)
TokenSTARTER 6.x-1.12 Provides additional tokens and a base on which to build your own tokens.
Depends on: Token (enabled)
Webform 6.x-2.7 Enables the creation of forms and questionnaires.
Panels
Mini panels 6.x-3.0 Create mini panels that can be used as blocks by Drupal and panes by other panel modules.
Depends on: Panels (enabled), Chaos tools (enabled)
Panel nodes 6.x-3.0 Create nodes that are divided into areas with selectable content.
Depends on: Panels (enabled), Chaos tools (enabled)
Panels 6.x-3.0 Core Panels display functions; provides no external UI, at least one other Panels module should be enabled.
Depends on: Chaos tools (enabled)
Required by: Chaos Tools (CTools) Plugin Example (enabled), Mini panels (enabled), Panel nodes (disabled)
SWF Tools
1 Pixel Out 6.x-2.5 Enables support for the 1 Pixel Out MP3 player.
Depends on: SWF Tools (enabled)
FlowPlayer 6.x-2.5 Enables support for FlowPlayer.
Depends on: SWF Tools (enabled)
FlowPlayer 3 6.x-2.5 Enables support for FlowPlayer 3.
Depends on: SWF Tools (enabled)
jQuery Flash plugin 6.x-2.5 Enables support for the jQuery Flash plugin embedding method.
Depends on: SWF Tools (enabled)
JW Image Rotator 3 6.x-2.5 Enables support for JW Image Rotator 3.
Depends on: SWF Tools (enabled)
JW Media Player 3 6.x-2.5 Enables support for JW Media Player 3.
Depends on: SWF Tools (enabled)
JW Media Player 4 6.x-2.5 Enables support for JW Media Player 4.
Depends on: SWF Tools (enabled)
SimpleViewer 6.x-2.5 Enables support for SimpleViewer.
Depends on: SWF Tools (enabled)
SWF Tools 6.x-2.5 This is the core component of SWF Tools and provides a common API for handling Adobe Flash related media.
Required by: FlowPlayer (disabled), FlowPlayer 3 (disabled), JW Image Rotator 3 (disabled), jQuery Flash plugin (enabled), 1 Pixel Out (enabled), SimpleViewer (disabled), SWFObject (disabled), SWFObject2 (enabled), UFO (disabled), JW Media Player 3 (disabled), JW Media Player 4 (enabled)
SWFObject 6.x-2.5 Enables support for the SWFObject embedding method.
Depends on: SWF Tools (enabled)
SWFObject2 6.x-2.5 Enables support for the SWFObject 2 embedding method.
Depends on: SWF Tools (enabled)
UFO 6.x-2.5 Enables support for the UFO embedding method.
Depends on: SWF Tools (enabled)
Spam control
CAPTCHA 6.x-2.0 Base CAPTCHA module for adding challenges to arbitrary forms.
Required by: Image CAPTCHA (enabled)
Image CAPTCHA 6.x-2.0 Provides an image based CAPTCHA.
Depends on: CAPTCHA (enabled)
User Interface
Tabs 6.x-1.0 A helper module for creating tabbed pages.
User interface
jQuery plugins 6.x-1.10 An API and home for miscellaneous jQuery plugins.
jQuery UI 6.x-1.3 Provides the jQuery UI plug-in to other Drupal modules.
Views
Views 6.x-2.6 Create customized lists and queries from your database.
Required by: Calendar (enabled), Calendar iCal (disabled), FlashVideo Views (enabled), Calendar Popup (enabled), Views content panes (enabled), Views exporter (disabled), Views UI (enabled)
Views exporter 6.x-2.6 Allows exporting multiple views at once.
Depends on: Views (enabled)
Views UI 6.x-2.6 Administrative interface to views. Without this module, you cannot create or edit your views.
Depends on: Views (enabled)

=========================================== E N D O F M O D U L E L I S T==================================================================================

* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 24.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 25.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 26.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 28.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 29.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 30.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 31.

========================================================================================================================================================

* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 47.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 48.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 49.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 50.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 51.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 52.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 53.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 54.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_page.inc on line 55.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 50.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 51.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 52.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 53.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 54.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 55.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 56.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 57.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_block.inc on line 58.

========================================================================================================================================================

* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 164.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 165.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 166.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 167.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 164.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 165.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 166.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 167.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 164.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 165.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 166.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 167.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 164.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 165.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 166.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 167.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 164.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 165.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 166.
* warning: Attempt to modify property of non-object in C:\xampp\htdocs\mytestsite\sites\all\modules\calendar\includes\calendar_plugin_display_attachment.inc on line 167.

========================================================================================================================================================

warning: Parameter 2 to webform_client_form() expected to be a reference, value given in C:\xampp\htdocs\mytestsite\includes\form.inc on line 371.

========================================================================================================================================================

warning: syntax error, unexpected $end, expecting TC_DOLLAR_CURLY or TC_QUOTED_STRING or '"' in ./sites/all/modules/views/help/views.help.ini on line 190 in C:\xampp\htdocs\mytestsite\sites\all\modules\advanced_help\advanced_help.module on line 667.

========================================================================================================================================================

warning: Parameter 1 to admin_menu_admin_menu() expected to be a reference, value given in C:\xampp\htdocs\mytestsite\includes\module.inc on line 471.

========================================================================================================================================================

# warning: call_user_func_array() expects parameter 2 to be array, string given in C:\xampp\htdocs\mytestsite\sites\all\modules\captcha\captcha.admin.inc on line 20.
# warning: call_user_func_array() expects parameter 2 to be array, string given in C:\xampp\htdocs\mytestsite\sites\all\modules\captcha\captcha.admin.inc on line 20.
# warning: call_user_func_array() expects parameter 2 to be array, string given in C:\xampp\htdocs\mytestsite\sites\all\modules\captcha\captcha.admin.inc on line 20.
# warning: call_user_func_array() expects parameter 2 to be array, string given in C:\xampp\htdocs\mytestsite\sites\all\modules\captcha\captcha.admin.inc on line 20.

========================================================================================================================================================

# warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\mytestsite\includes\form.inc on line 1428.

CAZephyr’s picture

On the project page for the calendar module are some troubleshooting tips that should resolve things for you.

You saying that calendar is the only module throwing errors sounds a lot better than your original post.

EDIT: It turns out that there is already an open issue in the queue for the calendar module, plus a patch. See the following link: compatibility with php 5.3

gausarts’s picture

Subscribing. Had reverted to older xampp prior to this info due to odd problems I am still tracking for solution. Thanks

love, light n laughter

einsteinsboi’s picture

Here's my workaround. I use Wampserver on my computer for local dev work. The latest version has PHP 5.3.0. What i did was that after installing Wampserver, I went back to the wampserver site and downloaded the PHP5.2.11 addon and installed that. This allows me to select what version of PHP I want to be running at any point when using Wampserver, and I can move between them easily. For the most part I keep 5.2.11 running since a lot of the scripts i work with don't support 5.3 yet.

Hope this helps someone.