• This is a machine translation.

    Php 4.5.2
    options-definitely 0.6.4

    Hello,
    Some installations – such as hosting ARUBA -, gives me an error in Media.php file:
    options-definitely / vendor / felixarntz / wpdlib / inc / WPDLib / FieldTypes / Media.php

    To solve the problem, in line 294, I modified this way:
    from
    $general_type = explode( ‘/’, $allowed_mime_types[ $extension ] )[0];
    to
    $general_type = explode( ‘/’, $allowed_mime_types[ $extension ] );

    Ti is both a mistake?

    Thank you, Claudio.

    https://www.ads-software.com/plugins/options-definitely/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Felix Arntz

    (@flixos90)

    Hi Claudio,

    can you provide me with the exact warning you get?

    Thread Starter K15Lmk98

    (@k15lmk98)

    This is a machine translation.

    Hi Felix, thank you for contacting me.

    I do not remember exact hour warning I received – it was a sintax error -.
    I can not play it, because in the meantime my client has changed hosting.

    I can only say that it occurred in a server with:
    – PHP Version 5.3.29
    – error_reporting = 22519 (E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED)
    I do not know if these data can be useful ??

    while dozens of other servers that use Options Definitely the problem does not exist.

    If I happen to still see this warning you contact.

    Thanks, Claudio_

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sintax error in file Media.php’ is closed to new replies.