• Resolved Bruno

    (@altoburgo)


    Hi team,

    When I try to activate the plugin I get the error: “Plugin could not be activated because it triggered a?fatal error

    Looking at the logs, it looks like the plugin tries to use the default prefix for wordpress tables and all my websites have customised prefixes for security.

    Here’s the error from the server logs:

    [Wed Jun 12 04:57:11.527201 2024] [php:notice] [pid 3558585] [client 202.53.39.74:0] WordPress database error Table ‘MYDATABASE.wp_posts’ doesn’t exist for query SELECT ID FROM wp_posts WHERE post_name = ‘rent-list’ && post_status = ‘publish’ && post_type = ‘page’ made by activate_plugin, do_action(‘activate_booking-and-rental-manager-for-woocommerce/rent-manager.php’), WP_Hook->do_action, WP_Hook->apply_filters, rbfw_register_activation_func, rbfw_page_create, rbfw_exist_page_by_slug, referer: https://MYWEBSITE.com/wp-admin/plugins.php?plugin=booking-and-rental-manager-for-woocommerce%2Frent-manager.php
    [Wed Jun 12 04:57:11.627269 2024] [php:error] [pid 3558585] [client 202.53.39.74:0] PHP Fatal error: Uncaught Error: Call to a member function get_option() on null in /var/www/MYWEBSITE.com/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php:81\nStack trace:\n#0 /var/www/MYWEBSITE.com/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php(99): rbfw_get_option()\n#1 /var/www/MYWEBSITE.com/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_shortcodes.php(138): rbfw_string()\n#2 /var/www/MYWEBSITE.com/wp-includes/shortcodes.php(433): rbfw_rent_list_shortcode_func()\n#3 [internal function]: do_shortcode_tag()\n#4 /var/www/MYWEBSITE.com/wp-includes/shortcodes.php(273): preg_replace_callback()\n#5 /var/www/MYWEBSITE.com/wp-includes/class-wp-hook.php(324): do_shortcode()\n#6 /var/www/MYWEBSITE.com/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#7 /var/www/MYWEBSITE.com/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(117): apply_filters()\n#8 /var/www/MYWEBSITE.com/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(209): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()\n#9 /var/www/MYWEBSITE.com/wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable()\n#10 /var/www/MYWEBSITE.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#11 /var/www/MYWEBSITE.com/wp-includes/plugin.php(517): WP_Hook->do_action()\n#12 /var/www/MYWEBSITE.com/wp-includes/post.php(4839): do_action()\n#13 /var/www/MYWEBSITE.com/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php(1525): wp_insert_post()\n#14 /var/www/MYWEBSITE.com/wp-content/plugins/booking-and-rental-manager-for-woocommerce/rent-manager.php(126): rbfw_page_create()\n#15 /var/www/MYWEBSITE.com/wp-includes/class-wp-hook.php(324): rbfw_register_activation_func()\n#16 /var/www/MYWEBSITE.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#17 /var/www/MYWEBSITE.com/wp-includes/plugin.php(517): WP_Hook->do_action()\n#18 /var/www/MYWEBSITE.com/wp-admin/includes/plugin.php(705): do_action()\n#19 /var/www/MYWEBSITE.com/wp-admin/plugins.php(60): activate_plugin()\n#20 {main}\n thrown in /var/www/MYWEBSITE.com/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php on line 81, referer: https://MYWEBSITE.com/wp-admin/plugins.php?plugin=booking-and-rental-manager-for-woocommerce%2Frent-manager.php

    Thank you,
    Bruno

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Shahadat Hossain

    (@raselsha)

    Hi @altoburgo ,
    Thank you for sharing an issue. We appreciate your effort to share this log. Strongly we will check the issue and solve it first and we will update you next release.
    Thank you.

    Plugin Contributor Shahadat Hossain

    (@raselsha)

    Hi @altoburgo ,

    Thank you again for sharing this issue. We found it and solved it. In next release you will find it resolved.

    Thread Starter Bruno

    (@altoburgo)

    Thank you Shahadat!

    Looking forward for the update so I can give the plugin a test drive ??

    Plugin Contributor Shahadat Hossain

    (@raselsha)

    Hi @altoburgo ,

    Thank you for your patient. Our next release is delayed for a while. If you think its urgent please create a support ticket from our site. https://mage-people.com/support-desk/. Our dedicated support team will help you to fix the issue quickly.



    Thread Starter Bruno

    (@altoburgo)

    Hi Shahadat,

    Do you have any idea of when?

    Thank you,

    Bruno

    Plugin Contributor Shahadat Hossain

    (@raselsha)

    Hi @altoburgo

    Thank you for your patient. We are in testing phase for next release. I hope this week we can release next version. If you like to test, please create a support ticket from here. https://mage-people.com/support-desk/

    Plugin Contributor Shahadat Hossain

    (@raselsha)

    Hi @altoburgo

    Today We released 2.0.4. We fix this issue in this version. Please update your plugin to the latest version.

    Hi, I just installed the plugin on my site and had the same message. The plugin is not installed because of that. This is the error showed by the “fatal error notify pro” plugin on my site?https://dynastyluxuryrentals.com

    • Error Level:?E_ERROR
    • Message:?Uncaught Error: Call to a member function get_option_trans() on null in wp-content/plugins/booking-and-rental-manager-for-woocommerce/templates/rent_list_styles/list.php:10
      Stack trace:
      #0 wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_shortcodes.php(120): include()
      #1 wp-includes/shortcodes.php(433): rbfw_rent_list_shortcode_func()
      #2 [internal function]: do_shortcode_tag()
      #3 wp-includes/shortcodes.php(273): preg_replace_callback()
      #4 /wp-includes/class-wp-hook.php(324): do_shortcode()
      #5 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
      #6 wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(132): apply_filters()
      #7 wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(218): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()
      #8 wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable()
      #9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
      #10 wp-includes/plugin.php(517): WP_Hook->do_action()
      #11 /wp-includes/post.php(4839): do_action()
      #12 wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php(1523): wp_insert_post()
      #13 wp-content/plugins/booking-and-rental-manager-for-woocommerce/rent-manager.php(126): rbfw_page_create()
      #14 wp-includes/class-wp-hook.php(324): rbfw_register_activation_func()
      #15 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
      #16 wp-includes/plugin.php(517): WP_Hook->do_action()
      #17 wp-admin/includes/plugin.php(705): do_action()
      #18 /wp-admin/plugins.php(60): activate_plugin()
      #19 {main}
      thrown
    • File:?wp-content/plugins/booking-and-rental-manager-for-woocommerce/templates/rent_list_styles/list.php
    • Line:?10
    • Request:?/wp-admin/plugins.php?_wpnonce=7e00f88c34&action=activate&plugin=booking-and-rental-manager-for-woocommerce%2Frent-manager.php
    • Referrer:?https%3A%2F%2Fdynastyluxuryrentals.com%2Fwp-admin%2Fplugin-install.php%3Fs%3Dwprently%26tab%3Dsearch%26type%3Dterm
    • User ID: 1
    Plugin Contributor Shahadat Hossain

    (@raselsha)

    Hi @rocktambulos

    Thank you for trying to use our plugin. You could create a support ticket from our website for pro issue. You will get instant support by our technical team.

    Thread Starter Bruno

    (@altoburgo)

    I’m running 2.1.3 and this is the error I get now, when trying to activate the plugin:

    [Mon Oct 07 02:16:23.701727 2024] [php:error] [pid PID] [client MYIP:0] PHP Fatal error: Uncaught Error: Call to a member function get_option_trans() on null in /mnt/data/www/MYSITE.com.au/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php:84\nStack trace:\n#0 /mnt/data/www/MYSITE.com.au/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php(102): rbfw_get_option()\n#1 /mnt/data/www/MYSITE.com.au/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_shortcodes.php(273): rbfw_string()\n#2 /mnt/data/www/MYSITE.com.au/wp-includes/shortcodes.php(434): rbfw_rent_list_shortcode_func()\n#3 [internal function]: do_shortcode_tag()\n#4 /mnt/data/www/MYSITE.com.au/wp-includes/shortcodes.php(273): preg_replace_callback()\n#5 /mnt/data/www/MYSITE.com.au/wp-includes/class-wp-hook.php(324): do_shortcode()\n#6 /mnt/data/www/MYSITE.com.au/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#7 /mnt/data/www/MYSITE.com.au/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(132): apply_filters()\n#8 /mnt/data/www/MYSITE.com.au/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(218): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()\n#9 /mnt/data/www/MYSITE.com.au/wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable()\n#10 /mnt/data/www/MYSITE.com.au/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#11 /mnt/data/www/MYSITE.com.au/wp-includes/plugin.php(517): WP_Hook->do_action()\n#12 /mnt/data/www/MYSITE.com.au/wp-includes/post.php(4902): do_action()\n#13 /mnt/data/www/MYSITE.com.au/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php(1435): wp_insert_post()\n#14 /mnt/data/www/MYSITE.com.au/wp-content/plugins/booking-and-rental-manager-for-woocommerce/rent-manager.php(142): rbfw_page_create()\n#15 /mnt/data/www/MYSITE.com.au/wp-includes/class-wp-hook.php(324): RBFW_Rent_Manager::activate()\n#16 /mnt/data/www/MYSITE.com.au/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#17 /mnt/data/www/MYSITE.com.au/wp-includes/plugin.php(517): WP_Hook->do_action()\n#18 /mnt/data/www/MYSITE.com.au/wp-admin/includes/plugin.php(703): do_action()\n#19 /mnt/data/www/MYSITE.com.au/wp-admin/plugins.php(60): activate_plugin()\n#20 {main}\n thrown in /mnt/data/www/MYSITE.com.au/wp-content/plugins/booking-and-rental-manager-for-woocommerce/inc/rbfw_functions.php on line 84, referer: https://MYSITE.com.au/wp-admin/plugins.php

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.