Hi
Just need change Tools::jsonEncode() to json_encode()
Here is file we update prestashop 8.0
1. Module apbooking
U apbooking/ajax.php
U apbooking/apbooking.php
U apbooking/classes/ApbookingConfig.php
U apbooking/classes/ApbookingOrder.php
U apbooking/controllers/front/ajax.php
U apbooking/override/classes/Cart.php
U apbooking/override/classes/pdf/HTMLTemplateInvoice.php
2. Module apcarrental
U apcarrental/apcarrental.php
U apcarrental/override/classes/pdf/HTMLTemplateInvoice.php
3. Module apmarketplace
U apmarketplace/ajax.php
U apmarketplace/apmarketplace.php
U apmarketplace/controllers/admin/AdminApmarketplaceOrder.php
U apmarketplace/controllers/admin/AdminApmarketplaceQuestion.php
U apmarketplace/controllers/admin/AdminApmarketplaceReview.php
4. Module appagebuilder
U appagebuilder/apajax.php
U appagebuilder/appagebuilder.php
U appagebuilder/classes/ApPageBuilderHookModel.php
U appagebuilder/classes/shortcodes/ApBlockCarousel.php
U appagebuilder/classes/shortcodes/ApBlockLink.php
U appagebuilder/classes/shortcodes/ApBlog.php
U appagebuilder/classes/shortcodes/ApCategoryImage.php
U appagebuilder/classes/shortcodes/ApColumn.php
U appagebuilder/classes/shortcodes/ApCounter.php
U appagebuilder/classes/shortcodes/ApGmap.php
U appagebuilder/classes/shortcodes/ApImageGallery.php
U appagebuilder/classes/shortcodes/ApManuFacturersCarousel.php
U appagebuilder/classes/shortcodes/ApProductCarousel.php
U appagebuilder/classes/shortcodes/ApProductList.php
U appagebuilder/classes/shortcodes/ApRow.php
U appagebuilder/controllers/admin/AdminApPageBuilderDetails.php
U appagebuilder/controllers/admin/AdminApPageBuilderHome.php
U appagebuilder/controllers/admin/AdminApPageBuilderHook.php
U appagebuilder/controllers/admin/AdminApPageBuilderImages.php
U appagebuilder/controllers/admin/AdminApPageBuilderProducts.php
U appagebuilder/controllers/admin/AdminApPageBuilderProfiles.php
U appagebuilder/controllers/admin/AdminApPageBuilderShortcode.php
U appagebuilder/controllers/admin/AdminApPageBuilderShortcodes.php
U appagebuilder/controllers/admin/AdminApPageBuilderThemeConfiguration.php
U appagebuilder/controllers/admin/AdminApPageBuilderThemeEditor.php
U appagebuilder/libs/Helper.php
U appagebuilder/libs/LeoDataSample.php
5. Module leoblog
U leoblog/adminajax.php
U leoblog/classes/config.php
U leoblog/controllers/admin/AdminLeoblogDashboard.php
U leoblog/controllers/front/blog.php
U leoblog/install/config.php
U leoblog/override/classes/Dispatcher.php
6. Module leoboostsales
U leoboostsales/ajax.php
U leoboostsales/leoboostsales.php
U leoboostsales/views/templates/hook/cross_selling.tpl
U leoboostsales/views/templates/hook/cross_selling_popup.tpl
7. Module leobootstrapmenu
U leobootstrapmenu/classes/Btmegamenu.php
U leobootstrapmenu/classes/widget/category_image.php
U leobootstrapmenu/classes/widget/links.php
U leobootstrapmenu/classes/widget.php
U leobootstrapmenu/controllers/admin/AdminLeoWidgets.php
U leobootstrapmenu/leobootstrapmenu.php
U leobootstrapmenu/libs/Helper.php
U leobootstrapmenu/widget.php
8. Module leocontactform
U leocontactform/controllers/front/ajax.php
9. Module leofeature
U leofeature/controllers/admin/AdminLeofeatureReviews.php
U leofeature/controllers/front/LeoProductAttribute.php
U leofeature/controllers/front/mywishlist.php
U leofeature/psajax.php
U leofeature/psajax_review.php
10. Module leopartsfilter
U leopartsfilter/classes/config.php
U leopartsfilter/controllers/admin/AdminLeopartsfilterExport.php
U leopartsfilter/controllers/admin/AdminLeopartsfilterImport.php
U leopartsfilter/controllers/front/search.php
U leopartsfilter/leopartsfilter.php