Jump to content
  • 0

getCookieThirdParties() pada null saat menghapus add-on



Setelah uninstall add-on forum saya crash.

1. Copot pemasangan. Saat ini semuanya baik-baik saja.
2. Dan kemudian menghapus file add-on saya mendapatkan error:


ErrorException: Fatal Error: Uncaught Error: Call to a member function getCookieThirdParties() on null in /path/src/XF/App.php:1895 
Stack trace: #0 /path/src/XF/App.php(346): XF\App->setupCookieConsent(Object(XF\CookieConsent)) 
#1 /path/src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container)) 
#2 /path/src/XF/App.php(2609): XF\Container->offsetGet('cookieConsent')
#3 /path/src/XF/App.php(2154): XF\App->cookieConsent()
#4 /path/src/XF/App.php(2077): XF\App->getGlobalTemplateData(Object(XF\Mvc\Reply\View))
#5 /path/src/XF/Pub/App.php(451): XF\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#6 /path/src/XF/Mvc/Dispatcher.php(397): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#7 /path/src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'h src/XF/App.php:1895


Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

Setelah itu halaman beranda (utama) – kosong.
admin.php – kosong

Dengan debug mode – kesalahan yang sama seperti di atas, bukan halaman kosong.

Menghapus add-on melalui tombol panel Admin Hapus file – hasil yang sama.
Menghapus file secara langsung – hasil yang sama.

Untuk memperbaikinya saya harus mengunggah plugin itu lagi (tanpa menginstal, hanya file). Dalam hal ini, semuanya bekerja.

Bagaimana cara menghapus add-on itu dengan benar?

Terakhir diedit:

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...