Illustration of connected portfolio elements

Portfolios for your
learning community

Try out Mahara

Create portfolios

Using Mahara, students and staff create their personal learning stories by uploading evidence of activities they have participated in, and embedding publicly accessible content they have previously put online. They can write reflections on their experiences that frame this evidence, map it to competencies or registration requirements, and provide necessary context.

Mahara can be used for many different portfolio purposes, such as study, professional development, work-integrated learning, assessment, showcase and presentation, and employability.

Learn about the portfolio options

Illustration of a person with their portfolio
Illustration of a paper airplane representing sharing

Share work

Mahara allows portfolios to be shared flexibly with one person, a specific group of people, or the entire world. Access can be further restricted to a particular time frame or just within an assessment task.

Find out about sharing portfolios

Engage with others

Mahara makes it easy to comment and give feedback. Portfolios can also be submitted to learning management systems via LTI (Learning Tools Interoperability) for marking.

Groups in Mahara allow people to create portfolios collaboratively and engage in forum discussions.

Learn about collaborating in Mahara

Illustration of a group of people collaborating
Illustration of a podcast logo

Listen to portfolio stories

In our podcast 'Create. Share. Engage.' portfolio practitioners, researchers, learning designers, and portfolio authors share their journey. Learn how they navigate the many different facets of portfolios in general, and Mahara specifically.

Listen on the podcast website or in your favourite app

Mahara Community

PHP error "Creating default object from empty value"

anonymous profile picture
Account deleted
Posts: 52
18 October 2012, 16:28

Greetings!
We've had a big migration in the last several months, and Mahara is just now starting to get used heavily again. I'm getting huge counts in my PHP error logs, most of which are like the following...

[18-Oct-2012 20:06:14 UTC] [WAR] bf (E:\www\inetwork\lib\mahara.php:801) Creating default object from empty value
[18-Oct-2012 20:06:14 UTC] Call stack (most recent first):
[18-Oct-2012 20:06:14 UTC]   * log_message("Creating default object from empty value", 8, true, true, "E:\www\inetwork\lib\mahara.php", 801) at E:\www\inetwork\lib\errors.php:446
[18-Oct-2012 20:06:14 UTC]   * error(2, "Creating default object from empty value", "E:\www\inetwork\lib\mahara.php", 801, array(size 7)) at E:\www\inetwork\lib\mahara.php:801
[18-Oct-2012 20:06:14 UTC]   * get_config_plugin("artefact", "file", "uploadagreement") at E:\www\inetwork\artefact\file\lib.php:487
[18-Oct-2012 20:06:14 UTC]   * ArtefactTypeFileBase::files_form("http://ischool.fcps.net/inetwork/artefact/file/ind...") at E:\www\inetwork\artefact\file\index.php:38

...There are literally 100's of variations on that theme in just today's logs. Interestingly, I've gotten zero feedback from users, so I don't know what's broken. A quick test of the journal and uploading files routine shows they work. I have no idea what I should be doing about this, if anything. Here's our full install stack:

  • Mahara version 1.4.0 (2011061002), SSO from Moodle, branded as "iNetwork"
  • PHP 5.4.7/64 bit installed very recently.
  • MySQL 5.1.47
  • Windows 2008R2 running IIS 7.5

Any hints?
       By the way, the text editor on this Mahara.org install did NOT like  IE9, though my Mahara install was fine with it! (Posting to Mahara.org through Chrome.)
       Thanks in advance...
                            Jeff

anonymous profile picture
Account deleted
Posts: 52
22 October 2012, 11:29

Re: PHP error "Creating default object from empty value"

...bump...

anonymous profile picture
Account deleted
Posts: 48
22 October 2012, 17:38

Re: PHP error "Creating default object from empty value"

Hi Jeffrey,

Those errors are due to you using PHP 5.4, have you recently upgraded from 5.3? In the most part these errors will be harmless.

In Mahara 1.6 which was released a few days ago, most (if not all!) of these errors have been fixed.

Cheers,

Hugh

anonymous profile picture
Account deleted
Posts: 52
25 October 2012, 10:01

Re: PHP error "Creating default object from empty value"

Actually, upgraded to 5.4 from 5.1, I think. I'm glad the errors are apparently harmless, have yet to hear any complaints. 

I do intend to upgrade, but need to test the 1.6 version to see what sort of user learning curve there is. 

Thanks a bunch. 

A post by Account deleted was deleted