Error adding images to galleries
-
Recently it started showing a permission error when trying to upload an image to the plugin gallery. Client says they were successful last on December 9
(not to confuse with the WordPress media gallery, which the image is uploading fine…)Oops! Sorry, but an error occured. This may be due to a server misconfiguration. Check your PHP error log or ask your hosting provider for assistance.
Could not write to file. Please check filesystem permissions. Filename: /wp-content/gallery/dinner-with-dadSteps taken were.:
- NextGen > Add Gallery Images.
- I chose “Import from Media Gallery” (but client says same error happen if trying the “upload images”)
- I chose EXISTING Gallery form drop down, called “Dinner with Dads.” And then selected images etc
I DID reach out to my host who replied as such:
I have enabled a custom php.ini for the php 7.4 that is currently set for the domain. I have looked over the settings and everything is correct permission wise to be able to upload files since the media library is able to work successfully with no issues. This appears to be an issue with the plugin as there may have been an update for it that is making it no longer work with this PHP version or WordPress version. Below is a copy of the error log when the import process is made from the steps you provided. ---[ LOG ]--- [13-Jan-2023 07:43:12 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:43:12 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 [13-Jan-2023 07:44:16 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:44:16 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 [13-Jan-2023 07:44:17 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:44:17 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 [13-Jan-2023 07:44:18 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:44:18 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 [13-Jan-2023 07:44:22 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:44:22 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 [13-Jan-2023 07:44:28 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:44:28 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 [13-Jan-2023 07:44:34 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:44:34 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 [13-Jan-2023 07:44:34 UTC] PHP Warning: fopen(): Filename cannot be empty in D:\home\pjecc.org\wwwroot\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_data\package.module.nextgen_data.php on line 3113 [13-Jan-2023 07:44:34 UTC] PHP Warning: fwrite() expects parameter 1 to be resource, bool given in D:\home\pjecc.org\wwwroot\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_data\package.module.nextgen_data.php on line 3114 [13-Jan-2023 07:44:34 UTC] PHP Warning: fclose() expects parameter 1 to be resource, bool given in D:\home\pjecc.org\wwwroot\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_data\package.module.nextgen_data.php on line 3115 [13-Jan-2023 07:44:53 UTC] PHP Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\framework\functions\framework-functions.php on line 37 [13-Jan-2023 07:44:53 UTC] PHP Warning: Use of undefined constant core_mods - assumed 'core_mods' (this will throw an Error in a future version of PHP) in D:\home\pjecc.org\wwwroot\wp-content\themes\digon\functions.php on line 154 ---[ END ]--- I have cross-referenced the requirements listed from the plugin's developer site and your site currently meets all their listed requirements. You may need to content the developer requiring the plugin based on the above PHP warnings that are occurring.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error adding images to galleries’ is closed to new replies.