2017-04-05, 10:16 AM
2017-04-05, 10:21 AM
2017-04-05, 10:43 AM
looks like you have different set of problems. can you reupload functions.php file & check
2017-04-05, 10:47 AM
(2017-04-05, 10:43 AM).m. Wrote: [ -> ]looks like you have different set of problems. can you reupload functions.php file & check
Parse error: syntax error, unexpected '[', expecting ')' in /home/xxxxx/public_html/inc/functions.php on line 6947
still same error
2017-04-05, 11:37 AM
What is your PHP version?
2017-04-05, 11:54 AM
(2017-04-05, 11:37 AM)doylecc Wrote: [ -> ]What is your PHP version?
5.3.29
Need fast solution
Cant let my site down just like that
2017-04-05, 12:07 PM
(2017-04-05, 11:54 AM)gamemaster Wrote: [ -> ](2017-04-05, 11:37 AM)doylecc Wrote: [ -> ]What is your PHP version?
5.3.29
Need fast solution
Cant let my site down just like that
The used short array syntax with square brackets requires PHP 5.4 or newer.
If you can't upgrade your PHP version, try to change lines 6945-6964 in inc/functions.php to:
if($url_components['scheme'] == 'https' && $ca_bundle_path = get_ca_bundle_path())
{
$context = stream_context_create(array(
'ssl' => array(
'verify_peer' => true,
'verify_peer_name' => true,
'peer_name' => $url_components['host'],
'cafile' => $ca_bundle_path,
),
));
}
else
{
$context = stream_context_create(array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
));
}
2017-04-05, 12:16 PM
TQ MASTA
2017-04-05, 02:57 PM
(2017-04-05, 12:07 PM)doylecc Wrote: [ -> ]The used short array syntax with square brackets requires PHP 5.4 or newer.
If you can't upgrade your PHP version, try to change lines 6945-6964 in inc/functions.php to:
if($url_components['scheme'] == 'https' && $ca_bundle_path = get_ca_bundle_path()) { $context = stream_context_create(array( 'ssl' => array( 'verify_peer' => true, 'verify_peer_name' => true, 'peer_name' => $url_components['host'], 'cafile' => $ca_bundle_path, ), )); } else { $context = stream_context_create(array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, ), )); }
Thanks You, That information help me to Upgrade!