Код: Выделить всё
Uncaught SyntaxError: Unexpected identifier 'https'
VM427 post-new.php:2 Uncaught TypeError: Cannot read properties of undefined (reading 'setCategories')
at VM427 post-new.php:2:11
VM434 block-editor.min.js:26 Uncaught TypeError: Cannot read properties of undefined (reading '__unstableGetBlockProps')
at VM434 block-editor.min.js:26:431192
at VM434 block-editor.min.js:41:131315
at VM434 block-editor.min.js:41:131359
(匿名) @ VM434 block-editor.min.js:26
(匿名) @ VM434 block-editor.min.js:41
(匿名) @ VM434 block-editor.min.js:41
VM440 block-library.min.js:12 Uncaught TypeError: Cannot read properties of undefined (reading 'privateApis')
at VM440 block-library.min.js:12:27531
at VM440 block-library.min.js:14:668882
at VM440 block-library.min.js:14:668927
(匿名) @ VM440 block-library.min.js:12
(匿名) @ VM440 block-library.min.js:14
(匿名) @ VM440 block-library.min.js:14
VM444 editor.min.js:12 Uncaught TypeError: Cannot read properties of undefined (reading 'SETTINGS_DEFAULTS')
at VM444 editor.min.js:12:17512
at VM444 editor.min.js:12:198806
at VM444 editor.min.js:12:198845
(匿名) @ VM444 editor.min.js:12
(匿名) @ VM444 editor.min.js:12
(匿名) @ VM444 editor.min.js:12
VM402 private-apis.min.js:2 Uncaught Error: Cannot unlock an undefined object.
at a (VM402 private-apis.min.js:2:2495)
at VM494 edit-post.min.js:7:38396
at VM494 edit-post.min.js:7:92887
at VM494 edit-post.min.js:7:92928
a @ VM402 private-apis.min.js:2
(匿名) @ VM494 edit-post.min.js:7
(匿名) @ VM494 edit-post.min.js:7
(匿名) @ VM494 edit-post.min.js:7
VM497 mce-view.min.js:2 Uncaught SyntaxError: missing ) after argument list (at VM497 mce-view.min.js:2:5417)
VM521 post-new.php:3 Uncaught TypeError: Cannot read properties of undefined (reading 'registerBlockStyle')
at VM521 post-new.php:3:12
at VM521 post-new.php:8:4
(匿名) @ VM521 post-new.php:3
(匿名) @ VM521 post-new.php:8
VM502 format-library.min.js:2 Uncaught TypeError: Cannot read properties of undefined (reading '__experimentalLinkControl')
at VM502 format-library.min.js:2:7416
at VM502 format-library.min.js:2:23211
(匿名) @ VM502 format-library.min.js:2
(匿名) @ VM502 format-library.min.js:2
VM516 post-new.php:5 Uncaught TypeError: Cannot read properties of undefined (reading 'initializeEditor')
at HTMLDocument. (VM516 post-new.php:5:25)
Моя версия ОС:
Linux версия 5.4.0-162-generic (buildd@lcy02- amd64-069) (версия gcc 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #179-Ubuntu SMP, понедельник, 14 августа, 08:51:31 UTC 2023
веб-браузер:
Google Chrome 124.0.6367.201 (arm64)
Я устанавливаю WordPress с помощью:
Код: Выделить всё
sudo service apache2 start
sudo service mysql start
sudo apt update
sudo apt install -y php libapache2-mod-php php-mysql
sudo a2enmod mpm_prefork
sudo a2dismod mpm_event
sudo service apache2 restart
sudo apt install -y phpmyadmin
echo "Include /etc/phpmyadmin/apache.conf" | sudo tee -a /etc/apache2/apache2.conf
sudo service apache2 restart
curl -O https://wordpress.org/latest.tar.gz
tar xzvf latest.tar.gz
mysql -u root -e "CREATE DATABASE wordpress_db;"
cd /home/labex/project/wordpress
cp wp-config-sample.php wp-config.php
Код: Выделить всё
in wp.config.php:
$_SERVER['HTTPS'] = 'on';
define('DB_NAME', 'wordpress_db');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
Код: Выделить всё
sudo cp -r /home/labex/project/wordpress /var/www/html/wordpress
sudo chown -R www-data:www-data /var/www/html/wordpress
sudo service apache2 restart
Подробнее здесь: https://stackoverflow.com/questions/785 ... -wordpress
Мобильная версия