Cannot add or edit current pages in Wordpress - wordpress

I keep getting this page whenever I try to edit or add a new page. I cannot do anything to edit my Wordpress pages. My website currently uses WordPress 5.3.2 and it also uses the new Avada theme 6.2. It has been like this all day. What I see when I click to edit through fusion builder or the regular wordpress editor

I can assume that there is an issue with CSS files delivery, it looks like the styles files (css files) are not being opened on your website page.
Possible reasons that might cause this are:
404 error: means all .css files are being called from the wrong URL which might happen if you changed your website URL recently.
You might have moved your website to SSL which changes the http:// to https://.
Possible solutions:
Try to clean your website cache.
Try to access your website using the private session within your browser.
Can you please share your website url?

You can try looking at the browser console to see what error is occurring.
In the recent version of Wordpress this is causing performance errors at its core:
Try adding the line below to your wp.config file below that IF:
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
define('CONCATENATE_SCRIPTS', false);
I had an error that did not load JQuery, when clicking on any button to upload files not working. So after I added the last line it worked.

Related

Wordpress Elementor Migration

I'm creating a Wordpress website for a client, which I built on my own server. My client has another company do the migration to their own servers but we had an issue. Elementor stopped working:
I can't access to page builder, the_content() is not called, but I checked our files and they are not different from the original ones on my server.
Almost all CSS is missing after CSS regeneration (Error 404).
Some pages load the wrong image, from the default Wordpress media root instead of the Elementor one.
I've been trying to fix it for 2 days now, can't seem to find the problem.
What I've tried:
URL replacement using the Elementor Tool.
Checked EVERY files manually.
Regenerated the CSS a dozen time but never fixed the CSS issue.
Edit: I found this in the logs
PHP: 2020-07-27 20:04:30 [warning X 2][/srv/xxx/prod/xxx/scv2/php5/htdocs/wp-content/plugins/elementor/modules/safe-mode/module.php::107] rmdir(/srv/xxx/prod/xxx/scv2/php5/htdocs/wp-content/mu-plugins): No such file or directory [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
I'd also like to mention that I have ZERO access to the FTP of the new server, I can only access the Wordpress Admin. I can't modify the .php files either. Hopefully someone can give me a hint on how to fix everything.
Many thanks in advance!

javascript is not running in wordpress

I have problem with running javascript codes in may pages.
I tried testing my code in xampp and it was working.
but I can not see them when I add them to my pages or my posts in my host and I installed wordpress again and it wasn't working.
Please help me
There are a few ways you can include JavaScript files in WordPress, I will give you one example using your child theme.
First you need to validate whether or not you actually have a child theme. Use FTP to login to you server and go to the wp-contents/themes directory. There you will see all your installed themes (in your case betheme). If you do not have a child theme follow these steps:
Create a new directory in your themes folder (betheme-child).
Upload your JavaScript file in this directory (for example script.js)
Create a new file called functions.php and add the following code to it: (surrounded by php opening and closing tags):
add_action('wp_enqueue_scripts', 'enqueue_child_scripts');
function enqueue_child_scripts() {
wp_enqueue_script('child-script', get_template_directory_uri() . '/script.js');
}
Login to your wp-admin and navigate to your themes
Enable your child theme instead of your normal theme.
Go to the front-page of your website, look at the page source and check if your JavaScript file is being loaded.
If you are using cloudflare, turn off minify JS.

Error displaying oEmbed Wordpress

I've a problem with my wordpress website. When I insert some url for being embedded, it's not working fine.
Here is the issue URL : https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah
And here is the Screenshot :
When I try to visit the embedded url. It's return 404 not found. You can check the embedded url here, https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah/embed/
I've try these common solutions.
Update everything including WordPress, the theme and plugins. Available updates appear in Dashboard > Updates.
Deactivate all plugins in case there is a conflict. If the problem goes away while all plugins are inactive, then reactivate them one by one to determine which is causing the problem.
Switch to the default theme (such as Twenty Thirteen) then try to do what was not working. If the problem remains, it is a general WordPress or hosting issue. If it happens only while using our theme, please let us know.
Clear cache in both your browser and in any caching plugins that you are using (also disable services like CloudFlare, if used with your website).
Revert code changes if you have modified the theme’s code. If using a child theme, reactivate the parent theme.
But, seems no one work.
The WordPress post embeds don't seem to be working on your site.
This URL shows a live example of the problem:
https://www.duosia.id/windows/whatsapp-for-pc/
The two embeds present in that URL are returning a 404, therefore, oEmbeds are not loading properly and showing the 404 page:
https://www.duosia.id/windows/facebook-messenger-for-pc/embed/#?secret=kMPv636bx1
https://www.duosia.id/windows/line-for-pc/embed/#?secret=65m4VpxiYi
Have you tried testing those URLs in the plugin "Rewrite Rules Inspector"?
You should see something like this for any of the "embed" URLs:
index.php?name=$matches[1]&embed=true
Also, have you tried flushing the rewrite rules in WordPress or maybe setting the permalink structure to a different/default one (right now you seem to be using a structure of "category/post-name") to see if it changes anything?
For the file that you are embedding, are you uploading it to the Media Library or some other plugin?
First I would check on the server to verify that the file you are looking to access does exist.
Once you know that the file does exist, then repeat the steps you have listed again.

Migrating wordpress

I am trying to migrate a Wordpress website from one hosting to another one. In the new hosting I can see it correctly if I access it from localhost, but if I try to render the web from an exteral pc, the .css and the images are not loaded (you can see it here 91.121.122.50/wp
Note that the link to the images points correctly (if you copy-paste the url of any image and open in a new window, it will load)
The new host has been configurated for a user, so I think it is a etc/hosts, apache2 or php configuration issue.
You can either update the database
//FIXME: do comment/remove these hack lines. (once the database is updated)
update_option('siteurl', 'http://your.domain.name/the/path' );
update_option('home', 'http://your.domain.name/the/path' );
http://codex.wordpress.org/Moving_WordPress
or place the folowing in you wp-config
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
http://codex.wordpress.org/Changing_The_Site_URL
In order to make all links working you've to update your htaccess in your admin area under settings -> permalinks.
There is a WordPress plugin called duplicator. Using this plugin we can transfer WordPress website from one host to another. I think this is the simple and easy way to transfer WordPress sit. Here is the link.

cforms plugin error in wordpress

i am new to wordpress , i am using cforms II plugin in my site. i am getting following error.
It seems that your ROOT
directory for Wordpress is /green.
cforms tried to auto-adjust its
settings accordingly, however if you
still encounter issues with Ajax (form
submission & CAPTCHA reset) please
open the file js/cforms.js in your
cforms plugin folder and check the
sajax_uri variable. (After changing
the file, please emtpy your browser
cache!)
and when add captcha to my forms, it is not added, not displayed at front side.
why do i get this error .
please help me
You should refer to the CformsII FAQ as Oliver has an entire section dedicated to your problem. In short you probably need to check the configuration for your cforms.js and lib_ajax.php file, clear your cache, and restart your browser.

Resources