Author: Fahmi Basya Kartapura

WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = ‘element_pack_license_key’

Problem: I have this error in my wordpress debug.log WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM wp_options WHERE option_name = ‘element_pack_license_key’ made by require_once(‘wp-load.php’),...

Formatting Thousands Separator in Datatable

Software Used: Datatables 1.10.20 PHPMyAdmin Table in PHPMyAdmin Datatable Display Result: Wanted: My Client Wanted to formatting JUMLAH column with thousands separator and right aligned like image below: Question: How to do that …...

Change Datatable Decimal Place to Comma

Software Used: Datatables 1.10.20 PHPMyAdmin Table in PHPMyAdmin Datatable Display Result: Wanted: My Client Wanted to formatting QTY column decimal places with comma and 2 digit after comma like image below: Question: How to...

NodeJS forge Encryption Equivalent in PHP

Known: My Client has nodeJS code: Private Key: Request: How to make it in php and also make a decrypt function … ? Solution: I make this code: Explain: Buffer.from(str,’utf8′) equivalent with utf8_encode($data) forge.pki.publicKeyFromPem...