Warning: call_user_func_array() expects parameter 1 to be a valid callback – whenever i navigate to wp-admin

whenever i navigate to URL/wp-admin/

i face this error:

Warning: call_user_func_array() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /customers/0/c/3/saifaljazira.com/httpd.www/wp-includes/class-wp-hook.php on line 288

here is the function of error:

public function apply_filters( $  value, $  args ) {     if ( ! $  this->callbacks ) {         return $  value;     }      $  nesting_level = $  this->nesting_level++;      $  this->iterations[ $  nesting_level ] = array_keys( $  this->callbacks );     $  num_args                           = count( $  args );      do {         $  this->current_priority[ $  nesting_level ] = current( $  this->iterations[ $  nesting_level ] );         $  priority                                 = $  this->current_priority[ $  nesting_level ];          foreach ( $  this->callbacks[ $  priority ] as $  the_ ) {             if ( ! $  this->doing_action ) {                 $  args[0] = $  value;             }              // Avoid the array_slice if possible.             if ( $  the_['accepted_args'] == 0 ) {                 $  value = call_user_func( $  the_['function'] );             } elseif ( $  the_['accepted_args'] >= $  num_args ) {                 $  value = call_user_func_array( $  the_['function'], $  args );             } else {                 $  value = call_user_func_array( $  the_['function'], array_slice( $  args, 0, (int) $  the_['accepted_args'] ) );             }         }     } while ( false !== next( $  this->iterations[ $  nesting_level ] ) );      unset( $  this->iterations[ $  nesting_level ] );     unset( $  this->current_priority[ $  nesting_level ] );      $  this->nesting_level--;      return $  value; } 

what is the reason I’m getting this error?

i can browse the normal site but whenever i navigate to wp-admin i get this error

wp-admin edit user url wont show up correct url

was expecting the edit url (shot below) would point me to something like:

website.co/wp-admin/user-edit.php?user_id=7&wp_http_referer=%2Fwp-admin%2Fusers.php <– expected url

Instead of

website.co/my-account/edit-account/&wp_http_referer=%2Fwp-admin%2Fusers.php <– ended up here

Also, I’ve read through some forums it might conflict with woocommerce or other plugins but tried to disabling all those plugins and still gave me the wrong link. Did I missing something? thanks

enter image description here

404 Not Found nginx on wp-admin

I have my own domain and I’m hosting the site on InfinityFree. So when typing http:// mysite.com/wp-admin it gives me 404 Not Found-nginx page.

I have installed WordPress successfully and also added a nameserver. I have changed nothing, just installed fresh and end up with this.

I don’t know what wrong? I’m creating the site for myself and still learning. I’ve read few articles but did not found the exact answer.

Thank You!

WordPress Article issue /wp-login to /wp-admin

Hello dear Gsa Community,
Some WordPress Article fails because many Websites locks /wp-login.php but /wp-admin.php is working always to Login!
Maybe it would be nice if the URL can be switched or Option for that…

Another Problem nr. 2 is:

Maximum Posts per Account [42]
but If 
Maximum Accounts per Site set to [1]

Gsa Ser will only Post once on one Site

with error in Log:
20:24:18: [ ] Info! Posts per account: 42, Posts per site: 1, <—-Look here
20:24:18: [ ] Attention! No targets to post to (Posts per account: 42, Posts per site: 1, Minutes to wait…..

The Option Maximum Accounts per site means Max Posts per site …. and this makes no sense because the first Option: Posts per Account already set this limit…
But I need the Real Option to set Max Account per Site to 1, because gsa ser try to Create New Accounts if u set it higher… and on my Target Websites is Registration not allowed, I just got one Account for Posting

Thank you 
Regards

I can’t log in to `wp-admin` after changing my domain

I created a website using wordpress. I decided to change my domain and bought it using the website: https://www.aftermarket.pl/

After buying a domain in the wordpress panel, I took the following steps:

  1. Log in to WordPress
  2. Click on the Settings menu.
  3. Select General.
  4. Update these fields with the new domain name:
  5. Click Save Changes.

after following these steps I cannot log in to wp-admin. Entering through the old domain – oldsite.com redirects me to newsite.com where I can only see File not found.

/wp-admin not accessible after migrating to local host (no plugin issue)

I migrated my local WordPress site to my WPEngine account and it’s been working without any problem!

After adding some content, I decided to export the database from the live version and import it to my local version so that they are synced. I adjusted the two siteurl and home fields in the database and the home page (https://localhost:8888) comes up well but the /wp-admin page is forced to https and responds with ERR_SSL_PROTOCOL_ERROR error.

All the other pages of the website cannot be loaded and return this error: Not Found The requested URL /news was not found on this server.

It seems like a "permalinks" reset problem for inner pages!

All these problems would go away if I switch the database back to the one I was using for local version so I’m pretty sure it’s a database issue!

Thanks

“File not found.” appears often while navigating wp-admin

I’ve been experiencing this issue with this specific website quite often. I moved it from a staging domain to the production domain and since it’s been doing this. It did not do this on the staging domain (same server).

  1. I did a find and replace on the database to ensure that the staging domain was replaced with the production domain.
  2. I have flushed the permalinks.
  3. I have increased PHP memory for this site

I can’t point to a specific plugin. I’ve used these plugin before on many sites. Everything is up to date. I have not found a pattern to when it appears. If I click between the Posts, Media and Page tabs often enough it eventually happens. I also happens when interacting with the plugins section of the site.

After it has happened a refresh of the page brings it back.

Here are examples: enter image description here

enter image description here

enter image description here

I get redirected too many times only in wp-admin?

I am trying to run wordpress in a subdirectory blog in my rails app, I used this nginx config as:

server {     listen 80;     server_name _;    passenger_ruby /usr/local/bin/ruby;   passenger_enabled on;   rails_env production;   location ^~ /assets/ { root /var/www/example/current/public;     gzip_static on;     expires max;     add_header Cache-Control public;    }  location /blog {   root /var/www/example/current;   index  index.html index.htm index.php;   try_files $  uri $  uri/ /index.php?$  args;    location ~ \.php$   {     fastcgi_pass unix:/run/php/php7.2-fpm.sock;     fastcgi_index index.php;     fastcgi_param SCRIPT_FILENAME $  document_root$  fastcgi_script_name;     include fastcgi_params;   } }  } 

My folders looks like this:

/rails_app/ /rails_app/blog/ /rails_app/blog/wp-admin/ 

where blog directory has wordpress files I don’t have any route starts with blog at rails app.

There is no redirect loop for frontend, but only at wp-admin

here in my wp-config.php I have:

define('WP_HOME','https://example.com/blog'); define('WP_SITEURL','https://example.com/blog');  $  _SERVER['HTTPS']='on'; define('FORCE_SSL_ADMIN', true); define('FORCE_SSL_LOGIN', true);  

any idea? how to debug this issue?