500 Error after activating some plugins
This topic contains 13 replies, has 4 voices, and was last updated by Kiran 5 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 26, 2019 at 9:45 pm #483132
Hi,
I have used the latest files from the download section. When we activated some of the plugins we got some errors:
PHP Parse error: syntax error, unexpected ‘(array)’ (array) (T_ARRAY_CAST) in /var/www/html/en/wp-content/plugins/geodir_location_manager/includes/class-geodir-location-locations.php on line 105
PHP Parse error: syntax error, unexpected ‘200’ (T_LNUMBER) in /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-function.php on line 53
PHP Fatal error: Can’t use function return value in write context in /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/public/class-geodir-social-importer-public.php on line 59
PHP Parse error: syntax error, unexpected ”OpenStreetMap.Mapnik” (T_CONSTANT_ENCAPSED_STRING) in /var/www/html/en/wp-content/plugins/geodir_custom_google_maps/includes/gd-google-maps-helper.php on line 159
Commenting out a line or a block in the code will let the activation. What is the root cause of this issue?
I have php5.4 on centos 7.3
Thanks
April 27, 2019 at 9:43 am #483155Hi there,
Could you contact your hosting provider and ask them to increase your PHP version to 5.6 or higher and see if it helps?
April 29, 2019 at 5:26 pm #483513Thanks for the reply. Updating to the latest PHP version 7.3 fixed the problem. However when using facebook import (with url parsing enabled) I receive a 500 error:
[29-Apr-2019 17:12:40 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-facebook.php:854
Stack trace:
#0 /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-facebook.php(124): GD_Social_Importer_Facebook->get_event_image(‘<!DOCTYPE html>…’, 10)
#1 /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/public/class-geodir-social-importer-public.php(525): GD_Social_Importer_Facebook->gdfi_get_fb_meta(‘https://en-gb.f…’)
#2 /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/public/class-geodir-social-importer-public.php(491): GD_Social_Importer_Public->gdfi_get_import_page_id(‘https://en-gb.f…’)
#3 /var/www/html/en/wp-includes/class-wp-hook.php(286): GD_Social_Importer_Public->gdfi_get_fb_page_data(”)
#4 /var/www/html/en/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#5 /var/www/html/en/wp-includes/plugin.php(465): WP_Hook->do_act in /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-facebook.php on line 854
[root@ip-10-0-0-34 plugins]# nano -w /var/www/html/en/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-facebook.phpand
[29-Apr-2019 17:24:13 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/html/wordpress/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-facebook.php:852
Stack trace:
#0 /var/www/html/wordpress/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-facebook.php(124): GD_Social_Importer_Facebook->get_event_image(‘<!DOCTYPE html>…’, 0)
#1 /var/www/html/wordpress/wp-content/plugins/geodir_social_importer/includes/public/class-geodir-social-importer-public.php(525): GD_Social_Importer_Facebook->gdfi_get_fb_meta(‘https://en-gb.f…’)
#2 /var/www/html/wordpress/wp-content/plugins/geodir_social_importer/includes/public/class-geodir-social-importer-public.php(491): GD_Social_Importer_Public->gdfi_get_import_page_id(‘https://en-gb.f…’)
#3 /var/www/html/wordpress/wp-includes/class-wp-hook.php(286): GD_Social_Importer_Public->gdfi_get_fb_page_data(”)
#4 /var/www/html/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#5 /var/www/html/wordpr in /var/www/html/wordpress/wp-content/plugins/geodir_social_importer/includes/class-gd-social-importer-facebook.php on line 852April 29, 2019 at 6:11 pm #483525Hi fws2016,
Thanks for your reply. Could you share your Website WP admin access here in private reply so that we could check your Website backend?
WP Admin
Login URL :
Login Username :
Login Password :April 29, 2019 at 7:01 pm #483546This reply has been marked as private.April 30, 2019 at 3:11 pm #483705This reply has been marked as private.April 30, 2019 at 3:12 pm #483707This reply has been marked as private.April 30, 2019 at 5:16 pm #483750This reply has been marked as private.April 30, 2019 at 11:34 pm #483828The developers will take a look, thanks for the good info.
May 1, 2019 at 11:28 am #483925This reply has been marked as private.May 1, 2019 at 2:15 pm #483978This reply has been marked as private.May 2, 2019 at 4:58 am #484079This reply has been marked as private.May 2, 2019 at 2:24 pm #484176This reply has been marked as private.May 3, 2019 at 10:08 am #484271This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket