Tag Info

New answers tagged

0

I had issues with this as well. What I wanted was to give one user Admin but remove certain menus from the backend admin side bar. I removed AAM because it was giving permission problems and used Menu Editor Pro instead. Everything works perfectly. Of course, this is not the most secure way to go about it, it still allows access to the hidden admin pages ...


1

I found the problem. I didn't realize this was a generic message for pretty much all errors. I stripped everything out of the activation routine (similar to above) and ran it... got no errors. Started adding "stuff" back. And it appears a call to flush() at the end of the activation function trying to force the /wp-content/debug.log to be flushed to disk was ...


0

You have a typo on this line: register_deactivaction_hook( __FILE__, 'my_plugin_deactivation'); It should be: register_deactivation_hook( __FILE__, 'my_plugin_deactivation');


0

After going through a few solutions including capabilities -nothing seemed to work. I finally rechecked the size of live wp_usermeta verses localhost wp_usermeta and found that the upload had been chopped and missing some values. I emptied the table and re-uploaded the whole usermeta afresh. Wordpress worked straightaway after the upload. - Hope this saves ...


0

This is most likely a host configuration issue. As the error is reporting from XAMPP on the C:\ drive I'm assuming you are trying to build the site locally? In any case, the error is indicating that WordPress can't make the connections it needs to successfully download and install plugins. There are two ways to solve this kind of problem: 1) Modify your ...


1

This is a PHP variable scope issue, there is no $wpdb defined in your function. Add global $wpdb; before trying to use the $wpdb object.


0

Finally I have been able of import the database succesfully. Because my path is localhost/projects/example and no only localhost, after doing the replace with the plugin I have to manually change some tables path. On wp_blogs and wp_site tables I have: Domain = localhost/projects/example Path = / I have to change to: Domain = localhost Path = ...



Top 50 recent answers are included