CMJ
Forum Replies Created
-
Same problem here, but it was fine last night. Woke up this morning and unable to access site front end or admin. Tried deactivating plugins, tried downgrading PHP, but didn’t help. Error log shows the same error as original poster.
Forum: Plugins
In reply to: [Booster for WooCommerce] PDF Invoice > ctritical errorMy client’s website is having this exact issue now as well. I tried turning on debug mode but I still can’t get a more specific error. Everything is updated, and I increased the memory limit in wp_config. I emptied the cache, I tried the Simple version of the invoice instead of the custom, I tried the Test vs the non-test, I tried HTML invoices instead of PDF, and I tried a downloadable PDF instead of in a new browser window, all to no avail.
Forum: Fixing WordPress
In reply to: Error establishing a database connectionThey’re all good again across the board here. I just left for a few hours and came back, so whatever was up has been cleared.
Forum: Fixing WordPress
In reply to: Error establishing a database connectionI’m having the same problem establishing a database connection today, but it’s happening an all Godaddy WordPress sites I have access to, and they aren’t all from the same hosting account, so I now hope it’s them and not me. The sites themselves still appear fine from the frontend, and I can log in via FTP, but I can’t get into any WordPress admin areas.
Forum: Fixing WordPress
In reply to: Wrapping do_shortcode around phpThanks for the reply. And it does indeed work! Thanks so much.
Before I got your reply, I actually fell upon a solution as well. I don’t know why it works, and it was just trial and error, so yours is probably better. But at any rate, I had this:
<?php
ob_start();
if(isset($_GET[‘view’])){
$view_type = $_GET[‘view’];
}else{
/* Theme Options Listing Layout */
$view_type = get_option(‘theme_listing_layout’);
}if( $view_type == ‘grid’ ){
get_template_part(“template-parts/grid-listing-container”);
}else{
get_template_part(“template-parts/listing-container”);
}
$comments_output = ob_get_contents();
ob_end_clean();
echo do_shortcode(‘[upme_private]’.$comments_output.'[/upme_private]’);
?>