Carl Alberto
Forum Replies Created
-
For this 2nd test that I made:
1) I tried turning on 2 plugins Akismet and ACF.
2) Went to Health Check and enabled troubleshooting mode.
3) Went back to the plugins list and it seems they are still activated https://screencast.com/t/jJPuPSjfClicking the troubleshooting button from there does nothing, it just goes back to the same page, no error in console log.
It looks like this plugin is utilizing
session_start()
or PHP’s$_SESSION
superglobal? This might be turning off Pantheon’s required plugin for sessions to work properly in the platform: https://pantheon.io/docs/wordpress-sessions/ when the troubleshooting mode kicks in?- This reply was modified 5 years, 10 months ago by Carl Alberto.
- This reply was modified 5 years, 10 months ago by Carl Alberto.
Forum: Plugins
In reply to: [WP Redis] Where exactly to place cache credentials?Redis example creds:
$redis_server = array( 'host' => '127.0.0.1', 'port' => 6379, 'auth' => '12345', 'database' => 0, );
Should be above:
/* That’s all, stop editing! Happy blogging. */
What is the exact error that you are getting?
- This reply was modified 5 years, 10 months ago by Carl Alberto.
Forum: Plugins
In reply to: [WooCommerce] Run wc csv product importer from wp-cliSeems there are no similar solutions yet, hopefully the feature request picks up traction to be included as a wp cli command https://github.com/woocommerce/woocommerce/issues/21624
So far, the only workaround is manually changing the
__sg_api
to any variable likesg_api
without any double underscore as prefix in these file/lines:sendgrid-email-delivery-simplified/lib/class-sendgrid-mc-optin.php:25: $vars[] = '__sg_api'; sendgrid-email-delivery-simplified/lib/class-sendgrid-mc-optin.php:40: if( isset( $wp->query_vars['__sg_api'] ) ) sendgrid-email-delivery-simplified/lib/class-sendgrid-mc-optin.php:146: $confirmation_link = site_url() . '/?__sg_api=1&token=' . $token;
- This reply was modified 6 years, 1 month ago by Carl Alberto.
- This reply was modified 6 years, 1 month ago by Carl Alberto.
It seems the header
Status: 503 Service Temporarily Unavailable
when the plugin is inMaintenance Mode
renders a redirect loop in the Pantheon platform.It is best to suggest users that are having similar issues to use “Coming Soon mode”.
They also suggest to use Pantheon’s own custom lock page in the platform.
Thanks for the quick reply.
This might be a hosting issue but just to give more context, here is the test setup:
WP 4.9.8
Nginx 1.8.1
PHP 7.2.10
Coming Soon Page & Maintenance Mode by SeedProd 5.0.20
TwentySeventeen 1.7
No other plugin installed aside from Pantheon’s Must-Use
Hosted in PantheonWhen the “Maintenance mode” is selected, that is the time that is throwing the error on 3 different browsers and machine even after clearing cache. Upon inspecting the PHP error log. This is what I get:
PHP Recoverable fatal error: PHP Startup: Cannot set 'user' save handler by ini_set() or session_module_name() in Unknown on line 0
“Coming Soon mode” works as expected. Maybe for the meantime, it is best to recommend Pantheon users to use “Coming Soon mode”.
Upon digging up the code of this plugin, there is an undocumented filter in place to override the capability check.
Adding this in the your theme’s function.php can make it work.
function better_search_replace_cap_override() { return 'manage_options'; } add_filter( 'bsr_capability', 'better_search_replace_cap_override' );
Thanks for the confirmation Ian!
Having the same issues, looking forward for the fix in the next version ??
Forum: Plugins
In reply to: [Plugin Security Scanner] Application Denial of Service (DoS)Yeah, I also got this and this sounds alarming, is it recommended to downgrade to last version that doesn’t have that vulnerability?
Forum: Plugins
In reply to: [WooCommerce] Woocommerce site very slowHi guys,
Would you mind sharing other plugins that is installed along with Woo and how many products do you have as well as the theme?
Thanks!
Forum: Developing with WordPress
In reply to: acessing PHP library in functions.phpHi ragulin,
The quickest way to do an include of that library is thru your theme’s function.php, some suggested steps to do that:
1) Copy the files https://simplehtmldom.sourceforge.net/ inside your theme’s folder eg simplehtmldom
2) Inside your theme’s function.php file, you can use this modified code to include that 3rd party libraryfunction foobar_func( $atts ){ require_once('simplehtmldom/simple_html_dom.php'); $html = file_get_html('https://hokejbal.cz/1-liga/tabulky/'); $ret = $html->find('table.standings', 1); print $ret; }
3) You can now call the foobar_func in any of your template files.
The best way to do this is creating a plugin (Google for it) so your custom code won’t be lost when you switch themes.
Forum: Fixing WordPress
In reply to: Pages disappeared from Home PageHi Zoezen,
Under your menus, which menu “display location” (located at the bottom as checkboxes) is your menu assigned to? Have tried to assigning it to different menu locations to see if it would appear somewhere else?
Forum: Fixing WordPress
In reply to: Customizer crashingHi @richbradburn,
The best way to get help into a specific theme is reaching out to the author, you can reach them here
You can help them troubleshoot by providing more details like other plugins installed and your hosting details.
What I can try first is turning off all plugins just to make sure it is not conflicting with that specific theme.
Let me know how it goes ok?
Hi yackoow,
I had that problem before, here is my setup:
Mac OS 10.12.2
XAMPP 5.6.28And I am getting same error when installing plugins on my local machine, I just ran these in terminal in my htdocs folder, normally it is /Applications/XAMPP/htdocs:
sudo chmod -R 777 yourWPfolder/
//this will give read & write permissions to all userssudo chown -R daemon yourWPfolder/
//this will change the owner to the daemon or apache serviceHope this helps!
If not, please do try to open a new ticket and please put as much details as possible
- This reply was modified 7 years, 10 months ago by Carl Alberto.