########################################################################################## GPXIN-15: Creating default object from empty value ########################################################################################## Issue Type: Bug ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Fixed (2015-04-22 07:50:54) Project: PHP GPXIngest (GPXIN) Reported By: btasker Assigned To: btasker Affected Versions: - 1.02 Targeted for fix in version: - 1.02 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== There are a number of instances where a property is being assigned to an object that hasn't been created yet, leading to a warning like the following -- BEGIN SNIPPET -- Warning: Creating default object from empty value in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 176 -- END SNIPPET -- The affected lines are - 176 - 325 - 600 - 603 - 634 There may, potentially, be others, but these are routinely called during _ingest()_ ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2015-01-13 10:11:10 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: PHP-GPX-Ingest Commit: bfafdc272ed980060e1cae7a987b6f27ea176f98 Author: Ben Tasker