It seems that I have to use this unfair strategy and to take your time because,
I am not sure what reasons Uros has, maybe is working part-time or is very busy or he just forgot to answer my ticket, but it's been 2 weeks since I posted my first ticket with Fatal Error and Amelia is still not working on my website...
So, I am sorry to involve you and take your time, but I need your help.
Can you please remind Uros to look at ticket #3457754 and give me the instructions to implement the solution or assign the task to a colleague who has more time to help me...
I am really disappointed with this slow support...
I tested the site and the problem is half resolved.
The good news is that the fatal error is not there anymore.
The bad news is that the shortcode (Amelia booking widget is not loading on desktop or mobile until the mouse /finger is not moved on the screen or is pressed a key).
I have attached a screenshot to see how looks the booking page without moving the cursor.
The second error is something along the available slots. The behavior is this, first, it lets you choose the time you want for an appointment and after you fill in the name and details and then press continue, an error saying that the slot time is not available anymore occurs (I also attached a screenshot for this). I have to mention that this error happens only if you choose the first available slots from the first available day.
Fatal error: Cannot declare class WpOrg\Requests\Requests, because the name is already in use in /home/customer/www/ezenpur.ro/public_html/wp-content/plugins/ameliabooking/vendor/rmccue/requests/src/Requests.php on line 37
Here is a function/hook, that you can to a PHP file, this is going to exclude the LearnPress only for pages where Amelia's booking is, but it will be active on other areas of the site, so you can use both plugins as active.
Open the PHP file with any text/code editor and find this file :
mu-plugins/functions.php
Add this code
<?php
function wpamelia_exclude_conflict_plugins($plugins)
{
if (!empty($_GET['page']) && strpos($_GET['page'], 'amelia') !== false) {
foreach ($plugins as $key => $plugin) {
if (false !== strpos($plugin, 'phastpress/phastpress.php')) {
unset($plugins[$key]);
}
}
}
return $plugins;
}
add_filter('option_active_plugins', 'wpamelia_exclude_conflict_plugins');
?>
If you are not sure where your 'mu-plugins' folder is ,
the default path is found in ../wp-content/mu-plugins.
If it does not exist on your hosting server, you can create a new folder via FTP and create a file named functions.php there.
To change the default directory manually, define WPMU_PLUGIN_DIR and WPMU_PLUGIN_URL in wp-config.php.
You can also reach out to your hosting support if you need help to do that.
I did everything as you recommended. The hosting support team double-checked, just to be sure everything was Ok, and then I updated Amelia and got another Fatal Error.
This is the error:
Fatal error: Cannot declare class WpOrg\Requests\Requests, because the name is already in use in /home/customer/www/ezenpur.ro/public_html/wp-content/plugins/ameliabooking/vendor/rmccue/requests/src/Requests.php on line 37
I wanted to check with you if you use the PhatPress plugin on your website.
In regards to the widget not displaying until the cursor is moved or any key is pressed, is that the case for other widgets as well and not just Amelia?
I just discovered by mistake where the error came from...
It is not PhastPress, but the other optimization plugin I use, Wp Meteor.
It has an option activated to delay the script until the first interaction...
Also has an option to exclude scripts matching regexp from optimization, but I don't know what to insert there.
(They say this under the option: Specify URLs or keywords or regular expressions, that can identify inline or src of javascript to be excluded from delaying execution (one per line). This is a good place to put your menus, hero area carousels, GA and GTM)
Can you help me with this?
I am attaching a screenshot just to have a better understanding.
Also, can you please guide me about the question I had in the previous chat (on 3rd of Octomber)?
"And because the issue came from PhastPress, should I delete the mu-plugins folder and the function.php that you recommended before?"
You can delete the functions.php file in the mu-plugins folder, but in regards to the WP Meteor conflict, I would suggest that you reach out to their support, and they will be able to assist you with this conflict.
Please let me know if they were able to assist you with this or not.
Hi,
It seems that I have to use this unfair strategy and to take your time because,
I am not sure what reasons Uros has, maybe is working part-time or is very busy or he just forgot to answer my ticket, but it's been 2 weeks since I posted my first ticket with Fatal Error and Amelia is still not working on my website...
So, I am sorry to involve you and take your time, but I need your help.
Can you please remind Uros to look at ticket #3457754 and give me the instructions to implement the solution or assign the task to a colleague who has more time to help me...
I am really disappointed with this slow support...
Thank you,
Titus
Hello Titus,
Really sorry that the solution to this took this long to be done, but now it should be resolved.
Please test it out and le me now if it is or isn't.
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Uros,
Thank you for responding.
I tested the site and the problem is half resolved.
The good news is that the fatal error is not there anymore.
The bad news is that the shortcode (Amelia booking widget is not loading on desktop or mobile until the mouse /finger is not moved on the screen or is pressed a key).
I have attached a screenshot to see how looks the booking page without moving the cursor.
The second error is something along the available slots. The behavior is this, first, it lets you choose the time you want for an appointment and after you fill in the name and details and then press continue, an error saying that the slot time is not available anymore occurs (I also attached a screenshot for this). I have to mention that this error happens only if you choose the first available slots from the first available day.
The test was made on the live website.
Please let me know if you need anything.
Thanks,
Titus S
Attached files: Time Error.png
Amelia loading Error.pdf
Hello Titus,
Thank you for the update on this.
Can you please update the plugin to the latest version (6.7), test it out, and let me know if it works or not?
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I updated Amelia. and now I cannot use the site.
This is the only thing that appears on a page:
Fatal error: Cannot declare class WpOrg\Requests\Requests, because the name is already in use in /home/customer/www/ezenpur.ro/public_html/wp-content/plugins/ameliabooking/vendor/rmccue/requests/src/Requests.php on line 37
I had to load the backup.
Hello Titus,
Thank you for the update on this.
Do I have your permission to update the plugin to the latest version (6.7), test it out and provide you with an update on this?
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Uros,
Please do it on the staging site first.
You have the login details in the privat ticket.
I am waiting for your answer.
Titus S.
Hello Titus,
Thank you for the update on this.
There is a conflict with the "Phastpress" plugin.
Here is a function/hook, that you can to a PHP file, this is going to exclude the LearnPress only for pages where Amelia's booking is, but it will be active on other areas of the site, so you can use both plugins as active.
Open the PHP file with any text/code editor and find this file :
mu-plugins/functions.php
Add this code
If you are not sure where your 'mu-plugins' folder is ,
the default path is found in ../wp-content/mu-plugins.
If it does not exist on your hosting server, you can create a new folder via FTP and create a file named functions.php there.
To change the default directory manually, define WPMU_PLUGIN_DIR and WPMU_PLUGIN_URL in wp-config.php.
You can also reach out to your hosting support if you need help to do that.
Please, let us know if it works.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Uros,
I did everything as you recommended. The hosting support team double-checked, just to be sure everything was Ok, and then I updated Amelia and got another Fatal Error.
This is the error:
Fatal error: Cannot declare class WpOrg\Requests\Requests, because the name is already in use in /home/customer/www/ezenpur.ro/public_html/wp-content/plugins/ameliabooking/vendor/rmccue/requests/src/Requests.php on line 37
So I had to run the backup again.
Hello Titus,
Can you disable the "Phastpress" plugin so we can be sure that that plugin is causing this issue?
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Uros,
Thank you for your fast response.
I deactivated PhastPress and seems that the Fatal error doesn't pop up anymore.
Regarding the PhastPress, is there anything in particular that I have to address to their support team regarding the conflict with Amelia?
And because the issue came from PhastPress, should I delete the mu-plugins folder and the function.php that you recommended before?
The other issue with the Amelia widget not loading (if you don't move the cursor or press any key), is still there. Can you have a look, please?
Thanks,
Titus S.
Hello Titus,
Glad to hear that the issue has been resolved.
I wanted to check with you if you use the PhatPress plugin on your website.
In regards to the widget not displaying until the cursor is moved or any key is pressed, is that the case for other widgets as well and not just Amelia?
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Uroš,
I just discovered by mistake where the error came from...
It is not PhastPress, but the other optimization plugin I use, Wp Meteor.
It has an option activated to delay the script until the first interaction...
Also has an option to exclude scripts matching regexp from optimization, but I don't know what to insert there.
(They say this under the option: Specify URLs or keywords or regular expressions, that can identify inline or src of javascript to be excluded from delaying execution (one per line). This is a good place to put your menus, hero area carousels, GA and GTM)
Can you help me with this?
I am attaching a screenshot just to have a better understanding.
Also, can you please guide me about the question I had in the previous chat (on 3rd of Octomber)?
"And because the issue came from PhastPress, should I delete the mu-plugins folder and the function.php that you recommended before?"
Thank you Uroš,
Waiting for your help,
Titus S.
Attached files: Screenshot Exclusion Option.png
Hello Titus,
Thank you for reaching back out to us.
You can delete the functions.php file in the mu-plugins folder, but in regards to the WP Meteor conflict, I would suggest that you reach out to their support, and they will be able to assist you with this conflict.
Please let me know if they were able to assist you with this or not.
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Titus,
I will have this passed to our developers to have this checked and resolved for one of the updates in the future.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables