anithegregorian
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] PHP 8 incompatibilitiesThis is what I’ve been using with PHP 7.4 and WP-CLI 2.4.0:
wp search-replace 'https://satdev.kinsta.com' 'https://localhost/satdev'
These errors started showing up after upgrading to PHP 8. Haven’t used regex before, this command use to work.
Should I format the command in a different way? Thx
Forum: Plugins
In reply to: [Redirection] PHP 8 incompatibilitiesI just rant into these today, this is search-replace command:
PHP Fatal error: Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, array given in phar:///usr/local/bin/wp/vendor/wp-cli/search-replace-command/src/WP_CLI/SearchReplacer.php:86 Stack trace: #0 phar:///usr/local/bin/wp/vendor/wp-cli/search-replace-command/src/WP_CLI/SearchReplacer.php(86): unserialize(Array) #1 phar:///usr/local/bin/wp/vendor/wp-cli/search-replace-command/src/WP_CLI/SearchReplacer.php(88): WP_CLI\SearchReplacer->run_recursively(Array, true, 1) #2 phar:///usr/local/bin/wp/vendor/wp-cli/search-replace-command/src/WP_CLI/SearchReplacer.php(57): WP_CLI\SearchReplacer->run_recursively('a:23:{s:32:"2cc...', false) #3 phar:///usr/local/bin/wp/vendor/wp-cli/search-replace-command/src/Search_Replace_Command.php(554): WP_CLI\SearchReplacer->run('a:23:{s:32:"2cc...') #4 phar:///usr/local/bin/wp/vendor/wp-cli/search-replace-command/src/Search_Replace_Command.php(390): Search_Replace_Command->php_handle_col('option_value', Array, 'wp_options', 'https://satdev....', 'https://localhos...') #5 [internal function]: Search_Replace_Command->__invoke(Array, Array) #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(98): call_user_func(Array, Array, Array) #7 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array) #8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(451): call_user_func(Object(Closure), Array, Array) #9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(371): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array) #10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(394): WP_CLI\Runner->run_command(Array, Array) #11 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1160): WP_CLI\Runner->run_command_and_exit() #12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start() #13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(74): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) #14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #15 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...') #16 /usr/local/bin/wp(4): include('phar:///usr/loc...') #17 {main} thrown in phar:///usr/local/bin/wp/vendor/wp-cli/search-replace-command/src/WP_CLI/SearchReplacer.php on line 86 Error: There has been a critical error on this website.Learn more about debugging in WordPress. There has been a critical error on this website.
- This reply was modified 3 years, 10 months ago by anithegregorian.
Forum: Plugins
In reply to: installing jetpack on mamp localhostTry this fix that Ive used on my localhost:
https://www.ravendevelopers.com/blog/2012/10/howto-use-wordpress-jetpack-localhostForum: Plugins
In reply to: [Plugin: WP-PostNavi] persisting query_posts or custom queriesHi scribu,
Thanks for response. Here is the pastebin code:
Filters are applied through a combobox. There are two combos one for category and one for tags. Filters work as expected even in tandem but when paginated they are lost…
My hunch is the query being reset…
Forum: Requests and Feedback
In reply to: Custom post type URL rewrite@mark: Already tried that, but I got this one from IRC. There are no default templates for custom post type archives, so a very generous person suggested me to:
https://www.ads-software.com/extend/plugins/simple-custom-post-type-archives/
And that worked like charm ??