I am getting a fatal error from cron. Fatal error: Cannot use object of type stdClass as array in {...}modules/station/archive/station_archive.module on line 713. This is occurring in both the local archive install and the public install. Suggestions?
Comments
Comment #1
drewish commentedah, yeah you need to make sure you're using the HEAD version of the audio module. note that it requires the token module as well.
Comment #2
mattrock commentedThat was it, thanks. Now, my local install which rips the stream is producing the following error:
Call to undefined function taxonomy_vocabulary_load() in .../modules/token/token_node.inc on line 99I have updated drupal, audio, token, and station to HEAD on this install.Comment #3
drewish commentedmake sure you've got the new copy of pathauto.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
mattrock commentedDid a completely fresh install, made my ripper mods, and I am still getting the same fatal error.
Fatal error: Call to undefined function taxonomy_vocabulary_load() in .../modules/token/token_node.inc on line 99. I get this every time I try to show a teaser or node for the imported audio. Example: http://buzz.wsum.wisc.edu/?q=station/archives.Everything is HEAD except PATHAUTO [DRUPAL-5] which says it requires ARRAY with the HEAD version and no such module exists.
Comment #6
drewish commentedah, yeah you need pathauto DRUPAL-5--2
Comment #7
mattrock commentedStill didn't change the fatal error. Could this be caused by my files folder on the server being represented by a symbolic link?
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
resin commentedI'm using Drupal 5.15, Station 5.x-2.0, and audio 5.x-1.4. There seem to be two statements that can fail because an array is expected instead of stdClass. It's an easy fix, just have to match the names up to those set on $node in audio_api_insert().
line 713:
--- $node->audio_file['downloadable'] = 1;
+++ $node->audio_fileinfo['downloadable'] = 1;
line 721:
--- $node->audio_file['file_name'] = str_replace( ...
+++ $node->audio_file->filename = str_replace( ...
Comment #10
drewish commentedsounds like you might have the wrong version of the audio module.