Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter aymanpfs

    (@aymanpfs)

    Ok, Could me to send a screenshot of my index.php to you to check it, and guide me what code I remove it?

    Thread Starter aymanpfs

    (@aymanpfs)

    Thank you for your replying,

    I didn’t make any modification in the index.php file, but I’m working on Rank Math SEO plugin, might it from its settings? did generate this code? I don’t know!

    and for caching plugins, I’m using SG Optimizer & WP Fastest Cache?

    Now, what do you advice me to do for following:

    1- What is the code I should remove?
    2- Which one of caching plugins I deactivate (or even remove it),
    with taking consideration as I have mentioned for you in the first post for that
    message disappear when I deactivate SG Optimizer.

    kindly guide me with my grateful.

    • This reply was modified 5 years, 8 months ago by aymanpfs.
    Thread Starter aymanpfs

    (@aymanpfs)

    Hello

    Do you mean SG Optimizer plugin?

    how to know (detect) that something is blocking this plugin?

    and is this issue related with issue, that reported in site health?
    (The REST API did not process the context query parameter correctly.)

    what do you advice to make for solving this issue?

    kindly, I want practice steps I process.

    • This reply was modified 5 years, 8 months ago by aymanpfs.
    Forum: Fixing WordPress
    In reply to: The REST API
    Thread Starter aymanpfs

    (@aymanpfs)

    When I have tried switching to: Twenty Twenty theme, the website has gone wrong
    (the images & menus disappeared), and converted to text.

    Forum: Fixing WordPress
    In reply to: The REST API
    Thread Starter aymanpfs

    (@aymanpfs)

    I have deactivated already all plugins as your instructions, and I have re-activated one by one, but nothing happened, the problem is still.

    Forum: Fixing WordPress
    In reply to: Irreverent message
    Thread Starter aymanpfs

    (@aymanpfs)

    I have noticed when I deactivate only the SG Optimizer plugin, the message disappears, and when I activate it, the message appears again.

    this is the script of that plugin:

    <?php
    /**
    * SG CachePress
    *
    * @package SG_CachePress
    * @author SiteGround
    * @link http://www.siteground.com/
    *
    * @wordpress-plugin
    * Plugin Name: SG Optimizer
    * Plugin URI: https://siteground.com
    * Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround
    * Version: 5.6.7
    * Author: SiteGround
    * Author URI: https://www.siteground.com
    * Text Domain: sg-cachepress
    * Domain Path: /languages
    */

    // Our namespace.
    namespace SiteGround_Optimizer;

    use SiteGround_Optimizer\Helper\Helper;
    use SiteGround_Optimizer\Activator\Activator;
    use SiteGround_Optimizer\Deactivator\Deactivator;

    // If this file is called directly, abort.
    if ( ! defined( ‘WPINC’ ) ) {
    die;
    }

    // Define version constant.
    if ( ! defined( __NAMESPACE__ . ‘\VERSION’ ) ) {
    define( __NAMESPACE__ . ‘\VERSION’, ‘5.6.7’ );
    }

    // Define slug constant.
    if ( ! defined( __NAMESPACE__ . ‘\PLUGIN_SLUG’ ) ) {
    define( __NAMESPACE__ . ‘\PLUGIN_SLUG’, ‘sg-cachepress’ );
    }

    // Define root directory.
    if ( ! defined( __NAMESPACE__ . ‘\DIR’ ) ) {
    define( __NAMESPACE__ . ‘\DIR’, __DIR__ );
    }

    // Define root URL.
    if ( ! defined( __NAMESPACE__ . ‘\URL’ ) ) {
    $root_url = \trailingslashit( DIR );

    // Sanitize directory separator on Windows.
    $root_url = str_replace( ‘\\’, ‘/’, $root_url );

    $wp_plugin_dir = str_replace( ‘\\’, ‘/’, WP_PLUGIN_DIR );
    $root_url = str_replace( $wp_plugin_dir, \plugins_url(), $root_url );

    define( __NAMESPACE__ . ‘\URL’, \untrailingslashit( $root_url ) );

    unset( $root_url );
    }

    require_once( \SiteGround_Optimizer\DIR . ‘/vendor/autoload.php’ );

    register_activation_hook( __FILE__, array( new Activator(), ‘activate’ ) );
    register_deactivation_hook( __FILE__, array( new Deactivator(), ‘deactivate’ ) );

    // Initialize helper.
    global $siteground_optimizer_helper;

    if ( ! isset( $siteground_optimizer_helper ) ) {
    $siteground_optimizer_helper = new Helper();
    }

    Forum: Fixing WordPress
    In reply to: The REST API
    Thread Starter aymanpfs

    (@aymanpfs)

    Just I was working on Rank Math SEO plugin settings, no more.

    Forum: Fixing WordPress
    In reply to: Irreverent message
    Thread Starter aymanpfs

    (@aymanpfs)

    Thank you, I will check, but this issue from divi Builder or WordPress itself?, and What causes it?

    Forum: Fixing WordPress
    In reply to: Irreverent message
    Thread Starter aymanpfs

    (@aymanpfs)

    Do you mean its contents?

    Thread Starter aymanpfs

    (@aymanpfs)

    We would work as a broker only, between buyers and dialers of genuine parts of vehicles, and we haven’t any products, only we receive the request (a list of wanted genuine parts) from client (buyer), then forward to the dialers to make price quotation, and they return it to the client to see the cheapest price and approve it.
    our commission we plan to get it from dialer with certain percent of invoice amount, or by monthly subscription (we would see what’s more suitable and better).

    that’s all we want.

    • This reply was modified 6 years, 3 months ago by aymanpfs.
    • This reply was modified 6 years, 3 months ago by aymanpfs.
    Thread Starter aymanpfs

    (@aymanpfs)

    Hello @macmanx,

    When I have browsed databases of my website by phpMyAdimn in cPanel, I found tables in structure section start with another prefix instead of Wp_ prefix, May be this changed in setting or what? and how to confirm this is for WordPress to make a backup?

    thank you again.

    Thread Starter aymanpfs

    (@aymanpfs)

    Thank you for all replies, but I want to inform what is an ideal backup method I should use, for information, I didn’t make backup before yet, Do I use phpMyAdmin method? or what I should use? Is possible to find my database or maybe have lost?

Viewing 12 replies - 1 through 12 (of 12 total)