Hi,

When i try to export the contents, i et the below error. I am using 8.x-2.0 version of content sync.

Path: /batch?id=69&op=do_nojs&op=do
StatusText: OK
ResponseText: Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method Drupal\content_sync\Form\ContentExportForm::generateSiteUUIDFile() in _batch_process() (line 294 of /var/www/html/core/includes/batch.inc). => Array

Attached screenshot

Comments

Prabhu.shan created an issue. See original summary.

Prabhu.shan’s picture

Issue summary: View changes
StatusFileSize
new161.62 KB
jigish.addweb’s picture

Status: Active » Needs review
StatusFileSize
new762 bytes

@Prabhu.shan, Export operation is giving an error. The error was occurring because the function defined as protected, so to resolve I have defined it as a public to resolve the same.

akash.addweb’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new69.8 KB
new91.27 KB

@jigish.addweb, I checked your patch & got the same error while checking it with simplytest.me. Your patch resolves the error & didn't face any further issue regarding the same.

Thanks!..

blanca.esqueda’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Parent issue: » #2966022: cannot access protected method Drupal\content_sync\Form\ContentExportForm::generateSiteUUIDFile()

Closing this task as this was fixed and added to 8.x-2.x-dev in:
https://www.drupal.org/project/content_sync/issues/2966022

Thank you!