Sintax error in file Media.php
-
This is a machine translation.
Php 4.5.2
options-definitely 0.6.4Hello,
Some installations – such as hosting ARUBA -, gives me an error in Media.php file:
options-definitely / vendor / felixarntz / wpdlib / inc / WPDLib / FieldTypes / Media.phpTo 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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Sintax error in file Media.php’ is closed to new replies.