PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/headprefect/public_html/fanfiction/includes/corefunctions.php on line 369
corefunctions.php on line 369:
This is the correct fix, as explained in the 7.4 documentation:
Would the change be
corefunctions.php on line 369:
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
From
PHP RFC: Deprecate curly brace syntax for accessing array elements and string offsets
Until this is fixed in the theme’s source, anyone bothered by the deprecation notice (like I am) can fix it by replacing the curly braces {}
with square brackets []
in evolve/inc/support.php
at line 170:
if ( !isset( $version{1} ) ) { should be changed to if ( !isset( $version[1] ) ) {
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Hi,
this is correct fix
$replace[$i] = str_pad($words[$j][0], strlen($words[$j]), "*");