T_CONSTANT_ENCAPSED_STRING bekliyor:Hata Ayrıştırma hatası: sözdizimi hatası, beklenmedik T_STRING, bu hatayı alıyorum
"Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in [wordpress dir]/wp-content/themes/[my-theme]/functions.php on line 14"
Ve çizgi 14 sadece basit use
komut ...
Hat 13-15:
add_action('headway_setup_child_theme', array('HeadwaySchematic', 'init'), 1);
use mfbcaptheme\mobilebrowsertheme;
require_once 'mobilebrowsertheme.php';
Bu, bir istemcinin sitesinde ve test sitemde gayet iyi çalışıyor .... Bu hatanın neden olacağından emin değil misiniz?
Lütfen bu soruyu tekrar açın. Bu sorunun cevabı - PHP 5.2'den 5.3'e yükseltmek, 2013'te pek çok kişi için geçerliydi ve bugün hala geçerli. Bu yüzden gelecekteki ziyaretçilere yardımcı olabilir. – icc97