bhaveen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Elementor element not visible on front endOkay Thanks @gappiah
Forum: Fixing WordPress
In reply to: Locating the CSS code from in the theme editorGreat! Thanks that works.
- This reply was modified 3 years, 6 months ago by bhaveen.
Forum: Plugins
In reply to: [WooCommerce] How can I set a default payment method on Chekcout page?@plantprogrammer So, how can I remove that code?
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()@sterndata I am sorry Steven, I am not so familiar with this. How can I disable the plugins if I can’t access the WordPress panel? Would you be kind enough to elaborate?
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()@sterndata I am not able to log in to my wordpress panel itself.
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()Hey @sterndata I haven’t even made any changes yet but for some reason I get this on my website as well as WordPress panel when I try to open it.
“ There has been a critical error on your website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress.”
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()I don’t have a folder with the name “mu-plugins” but I do have a file with name “class-ai1wm-import-mu-plugin”. Should I upload the file in the same folder as this file?
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()@sterndata do you mean to create a new file with the name “wpf_plugin.php” and add the code in there? Because I can’t find a file with the above name in WP file manager.
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()What do you suggest I should do? Should I remove it?
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()@sterndata Alright Steven, Here’s the entire thing.
<?php /** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * * Secret keys * * Database table prefix * * ABSPATH * * @link https://codex.www.ads-software.com/Editing_wp-config.php * * @package WordPress */ // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define( 'DB_NAME', 'xxxxxxxxxxxxxxx' ); /** MySQL database username */ define( 'DB_USER', 'xxxxxxxxxs' ); /** MySQL database password */ define( 'DB_PASSWORD', '1xxxxxxxc5' ); /** MySQL hostname */ define( 'DB_HOST', 'xxxxxxxxxxx' ); /** Database Charset to use in creating database tables. */ define( 'DB_CHARSET', 'xxx8' ); /** The Database Collate type. Don't change this if in doubt. */ define( 'xxxxxxxxxxxx', '' ); /**#@+ * Authentication Unique Keys and Salts. * * Change these to different unique phrases! * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service} * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. * * @since 2.6.0 */ define('AUTH_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('SECURE_AUTH_KEY', 'Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('LOGGED_IN_KEY', 'Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('NONCE_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('AUTH_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('SECURE_AUTH_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('LOGGED_IN_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('NONCE_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); /**#@-*/ /** * WordPress Database Table prefix. * * You can have multiple installations in one database if you give each * a unique prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_'; /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. * * For information on other constants that can be used for debugging, * visit the Codex. * * @link https://codex.www.ads-software.com/Debugging_in_WordPress */ define( 'WP_DEBUG', false ); /* That's all, stop editing! Happy publishing. */ define('FS_METHOD', 'direct'); /** * The WP_SITEURL and WP_HOME options are configured to access from any hostname or IP address. * If you want to access only from an specific domain, you can modify them. For example: * define('WP_HOME','https://www.lussolifestyle.com'); * define('WP_SITEURL','https//www.lussolifestyle.com'); * */ if ( defined( 'WP_CLI' ) ) { $_SERVER['HTTP_HOST'] = 'localhost'; } define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/'); /** Absolute path to the WordPress directory. */ if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', dirname( __FILE__ ) . '/' ); } /** Sets up WordPress vars and included files. */ require_once( ABSPATH . 'wp-settings.php' ); define('WP_TEMP_DIR', '/opt/bitnami/apps/wordpress/tmp'); // Disable pingback.ping xmlrpc method to prevent WordPress from participating in DDoS attacks // More info at: https://docs.bitnami.com/general/apps/wordpress/troubleshooting/xmlrpc-and-pingback/ if ( !defined( 'WP_CLI' ) ) { // remove x-pingback HTTP header add_filter('wp_headers', function($headers) { unset($headers['X-Pingback']); return $headers; }); // disable pingbacks add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['pingback.ping'] ); return $methods; }); add_filter( 'auto_update_translation', '__return_false' ); }
- This reply was modified 4 years, 3 months ago by Steven Stern (sterndata).
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()@sterndata How should I share the file with you?
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function add_filter()@sterndata You mean the entire wp-config.php file?
- This reply was modified 4 years, 3 months ago by bhaveen.
Hi @minor, I removed “;” but it still doesn’t work.
Yes, the theme is up to date.
Okay, Thank You.
Okay @sterndata So, should I close this one and open a new one over there?