Hi everyone
I have an old installation (3.12) of Matrix that is awaiting upgrade. Recently, when I create a new child asset (PDF for example), if I then go to the Details screen to make the asset Live, I get the following message:
PHP Warning
reset() [function.reset]: Passed variable is not an array or object
PHP Warning
key() [function.key]: Passed variable is not an array or object
MySource Error
[ASSERT EXCEPTION] [boolean] "" is not a valid asset ID (LINE 908 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]
Under Construction
I am not sure where to start looking to fix this. We haven't altered our PHP installation or done anything new to Matrix. Any ideas?
I have an old installation (3.12) of Matrix that is awaiting upgrade. Recently, when I create a new child asset (PDF for example), if I then go to the Details screen to make the asset Live, I get the following message:
PHP Warning
reset() [function.reset]: Passed variable is not an array or object
PHP Warning
key() [function.key]: Passed variable is not an array or object
MySource Error
[ASSERT EXCEPTION] [boolean] "" is not a valid asset ID (LINE 908 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]
Under Construction
I am not sure where to start looking to fix this. We haven't altered our PHP installation or done anything new to Matrix. Any ideas?
[/quote]
If you are a Squiz client, it might be easiest to file a support ticket, otherwise you will need to provide more details (eg. system setup, steps to replicate etc.). Being on an old version of Matrix, it is possible that it could have been fixed in a more recent version.
Alas, we are no longer under a support contract with Squiz, so at this stage it's kind of up to us to fix. The upgrade is planned but not expected to happen for a couple of months. It would be okay to wait, but it means I can't make any assets live, so I'm stuck being unable to publish new material!
Am happy to provide additional information to help get to the bottom of this - please let me know what you need