voronov13
Forum Replies Created
-
I’m glad it helped! ??
After many failed attempts, I noticed that the duplicate’s name is always in lowercase. So, I decided to try renaming the folder and the app name, and it worked.Hi again @rockiger .
I managed to solve the problem, in my case it was related to camel case in the folder and project name. Changing the name to lower case and rebuilding the application helped to solve the issue.
Faced the same problem. After I add a page to a vite.js project on the production server, another project that doesn’t exist appears in the list. The selected page is added to the non-existent project with the type “Orphan – It seems the app folder was deleted”.
Locally everything works, but on the production server it doesn’t.
Can you delete the
option_name
“repr_apps” from thewp_options
table? And then reload the ReactPress admin page?I have tried doing what you advised. It cleared the list, but didn’t solve the problem. Every time I add a page this bug happens.
Here is what the error is in the console on the “wp-admin/admin.php?page=reactpress” page:
admin.php:54
GET https://dice.msj.edu/wp-content/plugins/reactpress/js/reactpress-admin.js?ver=3.3.0 net::ERR_ABORTED 404 (Not Found)The following errors appear in the debug.log file:
[24-Oct-2024 13:08:47 UTC] PHP Notice: Trying to access array offset on value of type null in /var/www/dice.msj.edu/wp-content/plugins/reactpress/admin/Controller.php on line 50
[24-Oct-2024 13:08:48 UTC] file_get_contents(/var/www/dice.msj.edu/wp-content/reactpress/apps/diceformapp/build/asset-manifest.json): failed to open stream: No such file or directory- This reply was modified 5 months ago by voronov13.
This is the user’s meta field. It is added by another plugin to some users.
It’s a plugin I wrote myself. Below is a sample code that changes the value of the “folder_name” fieldfunction ufm_save_folder_name_field($user_id)
{
if (!current_user_can('edit_user', $user_id)) {
return false;
}
if (current_user_can('administrator')) {
$folder_name = isset($_POST['folder_name']) ? sanitize_text_field($_POST['folder_name']) : '';
// If "Not Selected" is chosen, set $folder_name to an empty string
if ($folder_name === 'Not Selected') {
$folder_name = '';
}
update_user_meta($user_id, 'folder_name', $folder_name);
}
}Take a look at this explanation:?https://help.dynamic.ooo/en/articles/4952541-dynamic-visibility-triggers-user-role
I tried to enter the field name from the example, but I still get an error.
Below is a list of current versions of some plugins, maybe it will be useful.
Dynamic Visibility for Elementor Version 5.0.11
Elementor Version 3.22.2
Elementor Pro Version 3.17.1Thanks for your help!
Hi @modalweb
Yes, you are right, the plugin conflicts with React Developer Tools 5.2.0 (5/8/2024) extension.
If I disable this extension, everything works as it should.
Is there any solution other than disabling this extension?
Thanks for your help!