Tags : PHP
WordPress: Can’t remove comments form after inserted shortcode
WordPress easily be able to add shortcode to insert PHP codes. When I added a shortcode which can make a list of specific posts. After that, comments form below shortcode can’t be removed. Why?
Laravel 5.6.7: Sequel Pro + Vagrant setup upon the Macbook
March 4, 2018 DevelopmentPHP
After create and migrate database by “php artisan migrate”, sometimes wants to manipulate database directly, especially in debug. Sequel Pro is one of the best MySQL tools for Mac. Here is a setup memo.
Laravel 5.6.7: npm install failed
March 3, 2018 DevelopmentPHP
When I setting up Laravel 5.6.7 on PHP 7.1.15 encountered error while the npm install. I think this is not laravel problem. But If this hasn’t soleved, can’t development vue.js. So, I will share a hint.
Larval 5.5: Eclipse Oxgen + PDT + Xdebug + Vagrant setup
March 1, 2018 PHP
This is a memo for setup the Laravel debug environments that using the Eclipse Oxgen. It’s included synchronized project setup and debug setup. Let’s get started.
Laravel 5.5: Vagrant + Nginx + PHP + MySQL + CentOS setup
Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern. Here is a memo when I had setup it.
PHP: Don’t set the IP address to the setcookie()
February 11, 2018 CentOSPHPVirtualBox
Spent a couple of days for struggled in login session. When run the pH7cms which is SNS open source which made of PHP on the VirtualBox it happened.
Exhausted: WordPress/Simple Calendar API-Key
January 27, 2017 Wordpress
Today, Installed Simple calendar which enable Google calendar in WordPress site. It’s happend on admin page of Simple Calendar settings. I put API-Key into Google API Key field and Save changes. But Never saved! Did again and again. Never. First, I check this link carefully and do that. Troubleshooting Theme, Plugin and Widget Conflicts But same result. Second, Enable WP_DEBUG and DEBUG_LOG in wp-config.php to check what is going on. Here is logs. [27-Jan-2017 04:30:13 UTC] PHP Warning: Illegal string offset ‘google’ in /www/wp-content/plugins/google-calendar-events/includes/abstracts/admin-page.php on line 186 [27-Jan-2017 04:30:13 UTC] PHP Notice: Array to string conversion in /www/wp-content/plugins/google-calendar-events/includes/abstracts/admin-page.php on line 186 What’s happening? My another dev site which also installed Simple …