Title: Error on php 8
Last modified: September 5, 2021

---

# Error on php 8

 *  Resolved [melanubis](https://wordpress.org/support/users/melanubis/)
 * (@melanubis)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-on-php-8-2/)
 * When trying to activate the plugin :
 * Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type?
   array, string given in D:\xampp\htdocs\fotoblog\wp-content\plugins\wp-trip-summary\
   lib\3rdParty\MysqliDb.php:1838 Stack trace: #0 D:\xampp\htdocs\fotoblog\wp-content\
   plugins\wp-trip-summary\lib\3rdParty\MysqliDb.php(1838): implode(Array, ‘`,`‘)#
   1 D:\xampp\htdocs\fotoblog\wp-content\plugins\wp-trip-summary\lib\3rdParty\MysqliDb.
   php(1562): MysqliDb->_buildInsertQuery(Array) #2 D:\xampp\htdocs\fotoblog\wp-
   content\plugins\wp-trip-summary\lib\3rdParty\MysqliDb.php(1523): MysqliDb->_buildQuery(
   NULL, Array) #3 D:\xampp\htdocs\fotoblog\wp-content\plugins\wp-trip-summary\lib\
   3rdParty\MysqliDb.php(816): MysqliDb->_buildInsert(‘wp_abp01_techbo…’, Array,‘
   INSERT’) #4 D:\xampp\htdocs\fotoblog\wp-content\plugins\wp-trip-summary\lib\Installer.
   php(911): MysqliDb->insert(‘wp_abp01_techbo…’, Array) #5 D:\xampp\htdocs\fotoblog\
   wp-content\plugins\wp-trip-summary\lib\Installer.php(603): Abp01_Installer->_installData()#
   6 D:\xampp\htdocs\fotoblog\wp-content\plugins\wp-trip-summary\lib\Plugin.php(
   125): Abp01_Installer->activate() #7 D:\xampp\htdocs\fotoblog\wp-includes\class-
   wp-hook.php(303): Abp01_Plugin->onActivatePlugin(”) #8 D:\xampp\htdocs\fotoblog\
   wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #9 D:\xampp\
   htdocs\fotoblog\wp-includes\plugin.php(470): WP_Hook->do_action(Array) #10 D:\
   xampp\htdocs\fotoblog\wp-admin\plugins.php(193): do_action(‘activate_wp-tri…’)#
   11 {main} thrown in D:\xampp\htdocs\fotoblog\wp-content\plugins\wp-trip-summary\
   lib\3rdParty\MysqliDb.php on line 1838
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-on-php-8-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alexandru BOIA](https://wordpress.org/support/users/alexandruboia/)
 * (@alexandruboia)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-on-php-8-2/#post-14879374)
 * Hello,
 * There seems to be an issue with one of the libraries I am using – MysqliDb. I
   will update the library in the next release, but as a quick fix, you can download
   it from [here](https://github.com/ThingEngineer/PHP-MySQLi-Database-Class/blob/master/MysqliDb.php)
   and replace the one in the plug-in (lib/3rdParty/MysqliDb.php is the one that
   needs to be replaced).
 * Regards,
    Alex.
    -  This reply was modified 4 years, 8 months ago by [Alexandru BOIA](https://wordpress.org/support/users/alexandruboia/).

Viewing 1 replies (of 1 total)

The topic ‘Error on php 8’ is closed to new replies.

 * ![](https://ps.w.org/wp-trip-summary/assets/icon-256x256.png?rev=3030703)
 * [WP Trip Summary](https://wordpress.org/plugins/wp-trip-summary/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-trip-summary/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-trip-summary/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-trip-summary/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-trip-summary/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-trip-summary/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alexandru BOIA](https://wordpress.org/support/users/alexandruboia/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/error-on-php-8-2/#post-14879374)
 * Status: resolved