تیم مدیریت  Bot ارسال شده در ژوئن 17 #4729 تیم مدیریت اشتراک گذاری ارسال شده در ژوئن 17 I upgraded from an earlier instance of 4.x a while ago, and have just noticed that one of my pages is producing an error. It's something which takes its info from an external API. However, I'm getting this: TypeError: Cannot access offset of type string on string (0) #0 /home/esperantoorg/xxxxxx/applications/cms/sources/Pages/Page.php(1280): IPS\Theme\content_pages_20() #1 /home/esperantoorg/xxxxxx/applications/cms/sources/Pages/Page.php(2306): IPS\cms\Pages\_Page->getHtmlContent() #2 /home/esperantoorg/xxxxxx/applications/cms/modules/front/pages/page.php(107): IPS\cms\Pages\_Page->output() #3 /home/esperantoorg/xxxxxx/applications/cms/modules/front/pages/page.php(34): IPS\cms\modules\front\pages\_page->view() #4 /home/esperantoorg/xxxxxx/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage() #5 /home/esperantoorg/xxxxxx/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #6 /home/esperantoorg/xxxxxx/index.php(13): IPS\_Dispatcher->run() #7 {main} I'm getting this a tonne of times in my error log: This has worked perfectly for year but now doesn't. The second I call some data in my code, I get this error message. The page loads fine as long as it's straight HTML and the initial PHP code to decode the JSON. I can provide code fragments if required. What could have changed? And how would I fix this? View the full Question لینک به دیدگاه به اشتراک گذاری در سایت های دیگر گزینه های به اشتراک گذاری بیشتر...
پست های پیشنهاد شده