Chris027 Posted October 14, 2022 Posted October 14, 2022 10 minutes ago, InvisionHQ said: have you edit Classifieds template? I don’t believe so, but will check. If I’ve editors it, it will show the little edited symbol next to it, right?
InvisionHQ Posted October 14, 2022 Posted October 14, 2022 If revert button is active then the template was modified. An example: Chris027 1
Chris027 Posted October 14, 2022 Posted October 14, 2022 3 minutes ago, InvisionHQ said: If revert button is active then the template was modified. An example: This will be in Themes > Edit HTML/CSS> Classifieds …?
InvisionHQ Posted October 14, 2022 Posted October 14, 2022 yes, but you need to check the right template that generate the error. Chris027 1
Chris027 Posted October 14, 2022 Posted October 14, 2022 12 minutes ago, InvisionHQ said: yes, but you need to check the right template that generate the error. Excellent. This is enough to get me started, tracking down my issue. Thanks so much.
Chris027 Posted October 14, 2022 Posted October 14, 2022 (edited) 4 hours ago, InvisionHQ said: have you edit Classifieds template? OK, I just checked the Classifieds template and see no edits. You can see on this one "view" referenced in the error, the Revert button is grayed out. I also just created a new stock theme and didn't change anything. Switched to that theme, and still got the error about the template. Last, the template error only displays when I view a product for sale in the classifieds. Edited October 14, 2022 by Chris027
Chris027 Posted October 14, 2022 Posted October 14, 2022 I continue to try to figure out what's up with this. I have a beta site up running PHP 8.1 and IPS 4.7.3. The beta site doesn't show the error. Here's the complete error on the production site: TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /mywebsite/system/Theme/Theme.php(885) : eval()'d code:5688 Stack trace: #0 /mywebsite/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_classifieds_front_view->view() #1 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call() #2 /mywebsite/system/Dispatcher/Controller.php(118): IPS\classifieds\modules\front\classifieds\_view->manage() #3 /mywebsite/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #4 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute() #5 /mywebsite/system/Dispatcher/Dispatcher.php(153): IPS\classifieds\modules\front\classifieds\_view->execute() #6 /mywebsite/index.php(13): IPS\_Dispatcher->run() #7 {main} BACKTRACE #0 /mywebsite/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log() #1 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call() #2 /mywebsite/system/Dispatcher/Controller.php(118): IPS\classifieds\modules\front\classifieds\_view->manage() #3 /mywebsite/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #4 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute() #5 /mywebsite/system/Dispatcher/Dispatcher.php(153): IPS\classifieds\modules\front\classifieds\_view->execute() #6 /mywebsite/index.php(13): IPS\_Dispatcher->run() #7 {main}
Chris027 Posted October 14, 2022 Posted October 14, 2022 (edited) OK @InvisionHQ I found the issue. When I have the option to Show other adverts from the same category enabled, everything works perfect. As soon as I disable this option, I get the template error. This one also causes the template issue, but only when it's disabled. Edited October 14, 2022 by Chris027 InvisionHQ 1
Chris027 Posted October 15, 2022 Posted October 15, 2022 As a temp fix, I created a .hide css class with display:none and added it to the view template of Classifieds. This way I can display enable the items without showing them.
InvisionHQ Posted October 15, 2022 Posted October 15, 2022 OK let me see if I can replicate this error. Meanwhile, thanks for the debug. Chris027 1
JaiKai Posted October 16, 2022 Posted October 16, 2022 On 10/14/2022 at 2:43 PM, InvisionHQ said: I've upload now in the marketplace Classifieds v2.3.5 with the fix for Fatal error: Declaration of IPS\classifieds\_Advert::getItemsWithPermission No issue identified with php8. Marketplace still showing as 'Classifieds v2.3.4'. Is there a way to manually apply this fix for now ?
JaiKai Posted October 18, 2022 Posted October 18, 2022 On 10/16/2022 at 12:00 PM, JaiKai said: Marketplace still showing as 'Classifieds v2.3.4'. Is there a way to manually apply this fix for now ? I can see its now updated and I've managed to get the latest version installed and working.
jesuralem Posted October 19, 2022 Posted October 19, 2022 @InvisionHQ do you have any news on the roadmap ? i am still willing ot buy the app as soon as V3 is out (the commerce dependency is blocking me right now).
panzerscope Posted October 22, 2022 Posted October 22, 2022 Looking forward to V3 myself as decided to hold back my core platform upgrade as I don't want the Market place to die lol.
panzerscope Posted November 3, 2022 Posted November 3, 2022 Worth noting that there is a new version on the marketplace that resolves with issues with IPS 4.7.3
InvisionHQ Posted November 3, 2022 Posted November 3, 2022 On 10/22/2022 at 12:11 PM, panzerscope said: Looking forward to V3 myself as decided to hold back my core platform upgrade as I don't want the Market place to die lol. Yes, Classifeds has been updated to solve a problem with 4.7.3. I have no timeline for new features, such as making the app independent of Commerce.
Donald Meek Posted November 7, 2022 Posted November 7, 2022 where is my update how much it wants me to buy again ips is screwy this way
Adriano Faria Posted November 7, 2022 Author Posted November 7, 2022 Just now, Donald Meek said: where is my update how much it wants me to buy again ips is screwy this way Mate, what I posted to you works for ALL resources. Go to the page I linked you and renew there.
Omri Amos Posted November 9, 2022 Posted November 9, 2022 How can I update the plugin? The marketplace doesn't letting me install it because "An application is already installed that uses the same Application Key, this application cannot be installed unless the other is removed", and I also can't download an actual file to upload it manually... I don't want to remove the existing installtion and install again because I don't want to risk losing data.
Omri Amos Posted November 9, 2022 Posted November 9, 2022 (edited) 34 minutes ago, Omri Amos said: How can I update the plugin? The marketplace doesn't letting me install it because "An application is already installed that uses the same Application Key, this application cannot be installed unless the other is removed", and I also can't download an actual file to upload it manually... I don't want to remove the existing installtion and install again because I don't want to risk losing data. Nevermind, I was able to link my so-called "custom" app to the marketplace item on the db, and then update the app from the marketplace. Edited November 9, 2022 by Omri Amos
Clover13 Posted December 23, 2022 Posted December 23, 2022 Is this app still being supported? Does it now work with PHP 8.1?
Chris027 Posted December 23, 2022 Posted December 23, 2022 4 minutes ago, Clover13 said: Is this app still being supported? Does it now work with PHP 8.1? Yes Clover13 1
Your Synergy Posted January 3, 2023 Posted January 3, 2023 Hello, Following the update the ads are not opening. What is the solution? [[Template classifieds/front/view/view is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
InvisionHQ Posted January 4, 2023 Posted January 4, 2023 Try to run support tools. It seems that some templates are not updated.
Your Synergy Posted January 5, 2023 Posted January 5, 2023 19 hours ago, InvisionHQ said: Try to run support tools. It seems that some templates are not updated. I guess so, it looks like it. however, I haven't found the solution to upgrade the app. If I delete it and upload it again, will our data is going to be lost? what is the best way to resolve this issue?
Recommended Posts