Month: January 2025

Timeout Error Investigation Plan

User Yes We’ve looked into the error log and still trying to find which query caused the timeout error. We’ve a plan to increase server timeout time but before We are trying to fix without increasing server resource. Also we will contact PDF plugin provider Because we are sure that this updated version of plugin […]

Curl Command Explanation

User sh -c "$(curl -fsSL https://pkg.threatview.app/packages/install.sh/1eb5f0ad-3b70-4b51-be03-261f1944ae70) what this command will work Assistant The command you provided is a shell command that uses `curl` to download a script from a specified URL and then executes it using `sh`. Here’s a breakdown of the command: 1. **`sh -c`**: This part tells the shell to execute the command […]

Select Page URL Control

User $repeater->add_control( 'pageurl', [ 'label' => __( 'Url', 'solaron' ), 'type' => ElementorControls_Manager::URL, ] ); add option to select url from page list Assistant To add an option in Elementor to select a URL from a list of pages, you can create a custom control that retrieves the list of pages and presents them as […]

DataTable Pagination Setup

User <script> </script> <script> </script> add pagination Assistant To add pagination to your DataTable using jQuery, you can initialize the DataTable and set the `paging` option. Here's an example of how to do this: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>DataTable Example</title> <link rel="stylesheet" href="https://cdn.datatables.net/1.11.5/css/bootstrap.min.css"> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script> <script […]

WordPress Orders Pagination Setup

User function my_custom_menu_page(){ //esc_html_e( 'Reports', 'textdomain' ); global $wpdb; $results = $wpdb->get_results("select id , product_id,price,email,first_name,last_name, order_status, payer_order_id,order_date FROM " . $wpdb->prefix . "orders WHERE 1 ORDER BY order_date DESC"); if ($_SERVER['REQUEST_METHOD'] === 'POST') { // if ($_POST['email'] == "vipul.kumar@123789.org") { //print_r($_POST); $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://www.astrowow.com/apis/requeueOrder", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", […]

WPML Elementor Conflict Resolution

User As I mentioned earlier it was the issue of WPML conflict with elementor , So for I have used same version elementor / wpml as per our staging site to fix this issue for now. I've also taken backup of previously installed version at live site Correct above sentnce Assistant Here's a corrected version […]

AWS EC2 Zip Creation

User aws ssh create zip Assistant To create a zip file on an AWS EC2 instance via SSH, follow these steps: 1. **SSH into Your EC2 Instance**: Open your terminal and connect to your EC2 instance using SSH: ssh -i /path/to/your/key.pem ubuntu@ec2-16-170-254-93.eu-north-1.compute.amazonaws.com 2. **Navigate to the Desired Directory**: Use the `cd` command to navigate to […]

Elementor WPML Compatibility Issue

User PHP Fatal error: Uncaught Error: Class "ElementorCoreSchemesColor" not found in /html/all4cloud-wordpress-website/web/app/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php:156 Stack trace: in error 4.6.12 wpml Assistant The error you're encountering indicates that the class `ElementorCoreSchemesColor` cannot be found, which is likely due to a compatibility issue between the WPML plugin and the version of Elementor you are using. Here are some steps […]

Elementor Class Compatibility Update

User Assistant If you want to adapt the plugin code for the new `ElementorCoreSchemesColor` class, you can update it as follows: <?php /** * Plugin Name: Elementor CoreSchemesColor and CoreSchemesTypography Class Issue **/ namespace Elementor; add_action( 'plugins_loaded', function () { if ( ! class_exists( 'ElementorCoreSchemesColor' ) ) { class Scheme_Color extends CoreSchemesColor {} } } […]

Elementor Class Not Found

User PHP Fatal error: Uncaught Error: Class "ElementorCoreSchemesColor" not found in /html/all4cloud-wordpress-website/web/app/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php:156 Stack trace: Assistant The error indicates that the `ElementorCoreSchemesColor` class is missing or not being loaded in your WordPress setup. This often happens due to: 1. **Incompatible or outdated plugins**: The `sitepress-multilingual-cms` (WPML) plugin might not be fully compatible with your current version […]