$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>navigation - Wordpress "add to menu" button not working|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

navigation - Wordpress "add to menu" button not working

matteradmin9PV0评论

I moved my WordPress installations from my old server to a new one. I copied all databases..etc and things seem to be working fine. (I have already migrated servers before, so I guess I know how to do the migration part correctly). However I only have one problem with ALL my wp installations, when adding new items to navigation menu, the “add to menu” doesn’t work. This video illustrates my problem:

I even did a new test installation from scratch just to see if the problem is due to copying files from another server, but I still have this issue with the new installation. So I guess it might be a server issue?

When I click add to menu the page reloads(which is unusual) then this appears in my console:

"[Violation] Added non-passive event listener to a scroll-blocking ‘touchstart’ event. Consider marking event handler as ‘passive’ to make the page more responsive. See chromestatus/feature/5745543795965952

" in load-scripts.php I tried changing these in my php.ini

post_max_size 20M
max_input_vars 10000

But it didn't solve the issue, however now nothing appears in the console.

I tried clearing my browser cache and the .htaccess file and I already have the following in my wp-config right before "that's all stop editing"

define('WP_DEBUG', true);
define( 'CONCATENATE_SCRIPTS', true );

define( 'WP_MEMORY_LIMIT', '256M' );

The old server uses mariaDB 5.5, the new one uses 10.2, I’m not sure if this is related to the problem though…

Can anyone suggest a solution for this? Hope someone can help me

Post a comment

comment list (0)

  1. No comments so far