When I try to access admin dashbord, an error is displayed. This error is: "Cannot redeclare use_block_editor_for_post()(previously declared in \wordpress\wp-includes\post.php:8067) in \wordpress\wp-admin\includes\post.php on line 2152".But the website is work correctly.
I use PHP 8.1 and Wordpress 6.0.3.
Any Help!!
First, backup all plugins through FTP to your computer.
Second, disabling all plugins or deleting them through FTP
Then check if the issue persists. If so, do the same for your theme. If the issue still persists, your installation might be corrupted.
Reinstalling plugins one by one, you will see which plugin caused the issue. Then you can investigate why. Probably an outdated version not compatible with the newest wp version and not maintained properly.
Related
I have installed Moodle 3.7.1 with XAMPP. The installation had been successful and problem-free. I followed the below video for installation:
https://www.youtube.com/watch?v=Ov2dGoOBmSI&t=436s
Now my main objective is moodle plugin development. Since I am relatively new to this I was exploring plugins and trying to build a simple one first.
But whenever I am trying to install plugin (my own or from Moodle directory) I receive the SUCCESS message but then get 'Page Loading Error' and thereafter I am not able to go to any page
I found this thread on Moodle forums and have tried most of the solutions they offered.
https://moodle.org/mod/forum/discuss.php?d=355930
I dont wish to work on older XAMPP version
My cache folder under Xampp's moodledata folder is empty and i tried clearing my browser cache and restarting the servers.
But the issue still persists
Any ideas what maybe causing this? I have a feeling that its some kind of configuration issue but I dont know where to look and what to look for.
Thanks for all the help. It took me alot of installation and uninstallations but finally when I downloaded the full Windows installer package--it worked.
I guess it was some kind of deeprooted version conflict between xampp and moodle or some configuration issue.
I've installed Wordpress 5 and configured a virtual host for my local wordpress sites
I need to install some plugins and when I try to install I get an error message : "Something went wrong with the plugin API."
Does someone know what is provocating this error ?
Here is a screenshot of my file permissions in the wordpress install root folder
I've finally found it,
It was a dummy thing, I tried to install my plugins at the same time by checking all the checkbox and use 'install' action. But when I did it one by one I've seen that one plugin is no longer available
If someone got problems one day with this error
This can be a lot of things. You can try some of these things:
Apply correct File Permissions;
Manually install the plugin;
Open DevTools and check if some issue appears in the log, as well as enable and read php logs;
If the plugin requires some API Key/Funcion from another, check if this is correctly enabled and working;
After installing a Joomla plugin called “Digi Template Switch” on a live server everything seemed fine until my session expired and I tried accessing the dashboard with my credentials, only this time I got a php error -
Fatal error: Call to undefined method JUserHelper::verifyPassword() in /home/mysite/public_html/plugins/authentication/joomla/joomla.php on line 56
Read up on some people who have had this issue in the past and they suggested replacing the adminstrator, libraries and include folders with that from a fresh download of same Joomla version but I have installed quite a few plugins already which would make my replacing the administrator folder a little tricky.
Would really appreciate an assistance as the Joomla installation is on a live server at the moment without access to the backend.
You can download joomla version 2.5.28 and replace that file con your server, the plugins you have installed will not be touched.
I'm not a coder, so please let me know if I'm in the wrong place. I'm an office manager who has managed to recover our Joomla website from being hacked. However I can't get into the backend of the website and our web host is not able to help. I can log in but then a blank page appears. This is the message I got from the our web host.
20160421T120205: creativelc.com.au/administrator/index.php
PHP Fatal error: Class 'JTree' not found in /hermes/bosnaweb15a/b931/ipg.creativelearning/administrator/modules/mod_menu/menu.php on line 18
I have tried to resolve it by restoring from a fresh installation. However, it is still loading the blank page. Thus, I suggest you please contact your application vendor on this and seek their assistance further.
Thanks
I am not sure how you reinstalled Joomla, but I recommend you to do it this way:
Back-up everything needed
Install Joomla on a subdomain/different domain/localhost or similar, as testing purpose.
Upload a copy of your database and connect it to the subdomain/domain/localhost.
If this solution doesn't work, then your database is affected. If you get different error messages, that may be because of the missing plug-ins, you should install them from scratch.
Now before anyone says "No one can help you with that" please understand that the upgrade worked, this is just a weird bug.
Ok so I upgraded Joomla from 2.5.14 successfully and everything works, nothing out of the ordinary. Every component/module/plugin seems to be working as it should.
HOWEVER the extension manager has a strange behavior, it constantly says:
-1 Copy file failed
I would think file permission problems, but everything is writable. The wierdest thing is it actually installed perfectly, just get this error rather then it saying it worked. (Meaning that when I install the component, there is no error).
This also only happens with components.
Just strange, might be worthy of diving deeper into it in case others run into this with an upgrade. I do not know enough about how the extension manager works to try to identify the problem either, and the lack of a real (or accurate) error message makes it even harder. (the files did copy, so that error message seems out of place)
I will try to look a little deeper in it and see if I cannot isolate it, For those who want to try to recreate it, you can do it by upgrading from 2.5.14 to 3.1.5 though the update manager. The main components I have are no number extension manager, akeeba and admin tools that I feel might have something to do with it.
That most likely is a permissions issue. That error is a RuntimeException thrown by the JFolder class method copy() while trying to copy a file into a folder - src_folder/file to dest_folder/file.
Check your FTP settings in global configuration and then the directories permissions.
I had this error with my module and I did several tests. I removed one level to my image directories from my module and the upgrade finally work...