PHP8 and Music Collection

0
I have just recently bought the new version of music collection to make it work with php8. Unfortunatelly I get only errors. I have just bought it because of this. My errors:

Non-static method MusColGraphics::renderThumb() cannot be called statically

Appears when I try to show recent albums with the attached config (Capture.JPG) - tried other configurations as well. Are there any hints if I am doing wrong or the promise in the download is wrong?

Running Joomla 3.10 on PHP 8.0.28

Thanks for the help!
Attachments:
Responses (6)
  • Accepted Answer

    Friday, May 19 2023, 08:36 AM - #Permalink
    0
    Hello!

    I've re-uploaded the package for Music Collection. Can you install it again? (only the component).

    That warning message that you're getting should be gone now.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 19 2023, 09:19 AM - #Permalink
    0
    Hi

    thanks a lot. This is very good to hear and has worked. But now I am getting the attached error when I want to open an album.

    For me the decision on using music collection again (I just migrated everything to articles using the following script) depends if there will be a joomla 4 compatible version. Is this the case?

    kind regards
    André
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 19 2023, 09:24 AM - #Permalink
    0
    Here the migration script:

    'INSERT INTO `sm_content`(
    `title`,
    `alias`,
    `fulltext`,
    `created`,
    `hits`,
    `state`,
    `created_by`,
    `catid`,
    `images`,
    `access`,
    `language`,
    `publish_up`,
    `metakey`
    )
    SELECT
    CONCAT(
    sm_muscol_artists.artist_name,
    " - ",
    sm_muscol_albums.name
    ) AS title,
    LEFT(
    sm_muscol_albums.image,
    LENGTH(sm_muscol_albums.image) -4
    ) AS alias,
    CONCAT(sm_muscol_albums.review,
    "


    Albuminfo




































    Punkte


     

    ",sm_muscol_albums.points,"/5



    Label


     

    ",sm_muscol_albums.label,"



    Veröffentlichung


     

    ",sm_muscol_albums.month,"/",sm_muscol_albums.year,"



    Format


     

    ",
    sm_muscol_format.format_name,
    "



    Land


     

    ",
    sm_muscol_artists.country,
    "



    Genre


     


    ",
    sm_muscol_genres.genre_name,
    "



    "
    ) AS fulltext_1,
    sm_muscol_albums.added,
    sm_muscol_albums.hits,
    1,
    sm_muscol_albums.user_id,
    22,
    CONCAT(
    "{\"image_intro\":\"images\\/albums\\/",
    sm_muscol_albums.image,
    "\",\"float_intro\":\"\",\"image_intro_alt\":\"\",\"image_intro_caption\":\"\",\"image_fulltext\":\"images\\/albums\\/",
    sm_muscol_albums.image,
    "\",\"float_fulltext\":\"\",\"image_fulltext_alt\":\"\",\"image_fulltext_caption\":\"\"}"
    ) AS images,
    1,
    "*",
    sm_muscol_albums.added,
    sm_muscol_albums.id
    FROM
    sm_muscol_albums,
    sm_muscol_artists,
    sm_muscol_genres,
    sm_muscol_format
    WHERE
    sm_muscol_albums.artist_id = sm_muscol_artists.id AND sm_muscol_albums.genre_id = sm_muscol_genres.id AND sm_muscol_albums.format_id = sm_muscol_format.id AND sm_muscol_albums.id = XXX
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 19 2023, 09:25 AM - #Permalink
    0
    'INSERT INTO `sm_content`(
    `title`,
    `alias`,
    `fulltext`,
    `created`,
    `hits`,
    `state`,
    `created_by`,
    `catid`,
    `images`,
    `access`,
    `language`,
    `publish_up`,
    `metakey`
    )
    SELECT
    CONCAT(
    sm_muscol_artists.artist_name,
    " - ",
    sm_muscol_albums.name
    ) AS title,
    LEFT(
    sm_muscol_albums.image,
    LENGTH(sm_muscol_albums.image) -4
    ) AS alias,
    CONCAT(sm_muscol_albums.review,
    "<p></p>
    <h2>Albuminfo</h2>
    <table>
    <tbody>
    <tr>
    <td>
    <p><strong>Punkte</strong></p>
    </td>
    <td> </td>
    <td>
    <p>",sm_muscol_albums.points,"/5</p>
    </td>
    </tr>
    <tr>
    <td>
    <p><strong>Label</strong></p>
    </td>
    <td> </td>
    <td>
    <p>",sm_muscol_albums.label,"</p>
    </td>
    </tr>
    <tr>
    <td>
    <p><strong>Veröffentlichung</strong></p>
    </td>
    <td> </td>
    <td>
    <p>",sm_muscol_albums.month,"/",sm_muscol_albums.year,"
    </p>
    </td>
    </tr>
    <tr>
    <td>
    <p><strong>Format</strong></p>
    </td>
    <td> </td>
    <td>
    <p>",
    sm_muscol_format.format_name,
    "</p>
    </td>
    </tr>
    <tr>
    <td>
    <p><strong>Land</strong></p>
    </td>
    <td> </td>
    <td>
    <p>",
    sm_muscol_artists.country,
    "
    </p>
    </td>
    </tr>
    <tr>
    <td>
    <p><strong>Genre</strong></p>
    </td>
    <td> </td>
    <td>
    <p>
    ",
    sm_muscol_genres.genre_name,
    "
    </p>
    </td>
    </tr>
    </tbody>
    </table>
    "
    ) AS fulltext_1,
    sm_muscol_albums.added,
    sm_muscol_albums.hits,
    1,
    sm_muscol_albums.user_id,
    22,
    CONCAT(
    "{\"image_intro\":\"images\\/albums\\/",
    sm_muscol_albums.image,
    "\",\"float_intro\":\"\",\"image_intro_alt\":\"\",\"image_intro_caption\":\"\",\"image_fulltext\":\"images\\/albums\\/",
    sm_muscol_albums.image,
    "\",\"float_fulltext\":\"\",\"image_fulltext_alt\":\"\",\"image_fulltext_caption\":\"\"}"
    ) AS images,
    1,
    "*",
    sm_muscol_albums.added,
    sm_muscol_albums.id
    FROM
    sm_muscol_albums,
    sm_muscol_artists,
    sm_muscol_genres,
    sm_muscol_format
    WHERE
    sm_muscol_albums.artist_id = sm_muscol_artists.id AND sm_muscol_albums.genre_id = sm_muscol_genres.id AND sm_muscol_albums.format_id = sm_muscol_format.id AND sm_muscol_albums.id =
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 19 2023, 10:00 AM - #Permalink
    0
    thanks for reporting this, will take a look right away

    as for version for J4, we are working on it and we are getting close to a release date, but it's still not ready yet.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 19 2023, 10:10 AM - #Permalink
    0
    That's very, very good to hear. I mean, I was always happy with the solution.

    How about my next error? Is there a solution as well?

    kind regards
    André
    The reply is currently minimized Show
Your Reply