Quote Originally Posted by mc12345678 View Post
What that means is that is the value returned from your query isn't being handled the way expected.

Can't seem to be able to tell which variable was posted, whether $format or $format_info, but whichever it is was basically set like:

$var = $db->Execute("SELECT * FROM " . TABLE_MEDIA_FORMAT_INFO . " WHERE format_id = '" . $some_selected_value . "' AND languages_id = '" . (int)$_SESSION['languages_id'] . "'");

In order to get the specific value of one of the five fields of the table: ([format_id] => 4 [format_name] => 7" vinyl [format_image] => [date_added] => [last_modified] => ), need to reference the field more directly:

$format_name = $var->fields['format_name'];
Could this be caused by confusing the fields? That is, ZC refers to the artist field in the plural (record_artists, artists_id), sometimes singular (TEXT_PRODUCT_ARTIST, $artist). But I simply replaced all instances of "record" with "media," and "artist/artists" with "format," thinking they would still remain unique. "TEXT_PRODUCT_FORMAT" and "media_format." Could that cause a problem like this? Except for the Product Type Info Page Layout options, all seems to be working on the admin side.

I'm also having a very hard time overriding includes/modules/pages/product_music_info/main_template_vars_product_type.php (which appears to determine the display on music products). I was trying to avoid altering the ZC issued file, but as of now that's all I seem to be able to work with.