How Fix warning errors in WordPress

If you encountered a problem like this:

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ” not found in /home/grandson/fcgrandson.ch/wp-includes/class-wp-hook.php on line 324

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ” not found in /home/grandson/fcgrandson.ch/wp-includes/class-wp-hook.php on line 324

Warning: Cannot modify header information – headers already sent by (output started at /home/grandson/fcgrandson.ch/wp-includes/class-wp-hook.php:324) in /home/grandson/fcgrandson.ch/wp- includes/pluggable.php on line 1435

Warning: Cannot modify header information – headers already sent by (output started at /home/grandson/fcgrandson.ch/wp-includes/class-wp-hook.php:324) in /home/grandson/fcgrandson.ch/wp- includes/pluggable.php on line 1438

The problem is that the code in the wordPress core files are not 100% correct, but that still does not mean you will have problems. First of all, make sure that your WordPress version is updated to the latest version. If the problem still appears, you can solve the problem in the following way:

  1. Enter the main folder of your wordpress website using FTP.
  2. Enter the public folder.
  3. In the public folder enter the wp-config.php file. The file can be opened with any text editor.
  4. Look in the file for a line where the sentence appears: define( ‘WP_DEBUG’, true );
    and change the word true to the word false;
  5. If you don’t see this sentence, simply and this sentencedefine( ‘WP_DEBUG’, false );
  6. Save the file.

Now a comment should not appear on the site.

Join the Conversation

5 Comments

Leave a comment

Your email address will not be published. Required fields are marked *

89.00 USD 100% 4 Port Web Managed 2.5Gps PoE Or None PoE Switch +1x10G SFP+1x10Gps RJ45 Uplink https://s.click.aliexpress.com/e/_omc2Ifx

14.03 USD 100% FLASHFORGE Adventurer 5M AD5M 3D Printer AD5M DIY enclosure panel kit clear transparent Polycarbonate PC sheet 3mm https://s.click.aliexpress.com/e/_omc2Ifx

Top On Sale Product Recommendations!;For Razer Viper Ultimate Edition Wireless Gaming Mouse Left and Right Button Back Cover Cyberpunk Gundam Personalized Shell Set;Original price: USD 31.87;Now price: USD 17.53;Click&Buy: https://s.click.aliexpress.com/e/_om7zCDP Available Code : RUWUNIDPV2CH, USD1.00 off, PST 2024-08-27 22:26:00 ~ 2024-09-10 23:59:59

Top On Sale Product Recommendations!;Realtek RTL8812AU/RTL8812BU Dual Band 1200mbps Wireless USB Wifi Network Adapter Antenna Laptop Ethernet 1000M Ethernet External;Original price: USD 12.08;Now price: USD 11.39;Click&Buy: https://s.click.aliexpress.com/e/_EjzkwuV ;Available Code : DEL56KRDNNW4, USD1.00 off, PST 2024-07-27 02:14:00 ~ 2024-09-30 23:59:59

Top On Sale Product Recommendations!;Black Mouse Pad Seigaha Deskmat Gaming Mousepad Minimalistic Carpet Mouse Mats Office Accessories Pc Gamer Desk Pad Rubber Mats;Original price: USD 5.56;Now price: USD 5.17;Click&Buy: https://s.click.aliexpress.com/e/_oDRluGV ;Available Code : P2GSTQ7DDPAR, USD1.01 off, PST 2024-07-10 07:40:00 ~ 2024-10-02 23:59:59

Top On Sale Product Recommendations!;2024 New 10 Inch Tablet S10 Dual SIM CARD WITH WIFI Network Make Call Bluetooth Android 11 Google Play Tablets 5000mAh;Original price: USD 54.46;Now price: USD 54.46;Click&Buy: https://s.click.aliexpress.com/e/_EHZzaM5 ;Available Code : QYEY2GACLBXF, USD5.00 off, PST 2024-08-03 00:00:00 ~ 2024-09-30 23:59:59

Top On Sale Product Recommendations!;8-IN-2 USB HUB 3.0 USB C HUB Docking Station 5Gbps High Speed Transmission USB Splitter Type C TF/SD OTG Adapter For Macbook Pro;Original price: USD 6.51;Now price: USD 6.14;Click&Buy: https://s.click.aliexpress.com/e/_Evsp6lB ;Available Code : DEL56KRDNNW4, USD1.00 off, PST 2024-07-27 02:14:00 ~ 2024-09-30 23:59:59

Top On Sale Product Recommendations!;UGREEN USB Webcam 1080P HD Mini Webcam For Laptop Computer Web Camera Dual Microphones for Youtube Zoom Video Calling 2K web cam;Original price: USD 39.99;Now price: USD 25.99;Click&Buy: https://s.click.aliexpress.com/e/_EI6yQcN ;Available Code : 958OB3ZLNOP8, USD5.00 off, PST 2024-08-20 04:43:00 ~ 2024-09-30 23:59:59

0
    0
    Your Cart
    Your cart is emptyReturn to Shop