Rafal Dorobisz
-
Posts
3 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by Rafal Dorobisz
-
-
1 hour ago, Pete T said:
Do have any php added to the widget ?
Yes, I mean I had some PHP code working with the widget before the upgrade, and after upgrade, it stopped. I updated your plugin to the 4.4.x version.
-
@Pete T great plugin. I used it for a while, but after update to 4.4.2 and PHP from 5.x -> 7.2 I have something like this
ParseError: syntax error, unexpected 'echo' (T_ECHO) (0) #0 /some_path/system/Widget/Widget.php(803): IPS\plugins\phptxtwidget\widgets\_sodPhpWidget->render() #1 /some_path/system/Theme/Theme.php(840) : eval()'d code(17027): IPS\_Widget->__toString() #2 /some_path/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical') #3 /some_path/system/Theme/Theme.php(840) : eval()'d code(14550): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #4 /some_path/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->sidebar('right') #5 /some_path/system/Theme/Theme.php(840) : eval()'d code(6582): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array) #6 /some_path/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('c98720a4367247a...', '\n<div class='ip...', Array) #7 /some_path/system/Dispatcher/Dispatcher.php(172): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #8 /some_path/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish() #9 /some_path/system/Dispatcher/Front.php(575): IPS\Dispatcher\_Standard->finish() #10 /some_path/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\_Front->finish() #11 /some_path/index.php(13): IPS\_Dispatcher->run() #12 {main}
Any idea?
TXT & PHP Widget
in Marketplace
Posted
Ok, I removed it from the database and created from the scratch. It seems that PHP code doesn't accept enters (new lines, so all has to be in one line if not, it will be parsed incorrectly).